HTTP Remoting

The TCP channel provides basic reliable end-to-end communication and transmission of messages based on low-level sockets. It is ideally suited for use on a LAN. The HTTP channel, on the other hand, being based on the HTTP protocol, is ideal for transmitting data over longer distances. You can use many of the same techniques that you’ve already seen in this chapter, but the HTTP channel provides some additional functionality. Specifically, you can use IIS as a host server application and publish remote methods on the Web. The HTTP channel also provides better cross-platform interoperability.

Remoting Server Hosting

HTTP remoting uses the System.Runtime.Remoting.Channels.Http.HttpChannel class to transport messages between a client and ...

Get Microsoft® Visual J#™ .NET (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.