How to Remoting Channels
The .Net Remoting Channels are used to transport messages to and from the Remote Objects. Channels are Objects that responsible of handling the network protocols and serialization formats. In .Net, Remoting channel can be implement either by calling the method ChannelServices.RegisterChannel or by using configuration file. Channels should be registered before Objects are registered.
When a channel is registered, it is automatically starts listening for client requests at the specified port. At least one channel must be registered with the remoting framework before a Remote Object can be called.
There are two types of Channels available in .Net Remote Framework.
- HTTP Channel
- TCP Channel
The HTTP channel transports messages to and from remote objects using the SOAP Protocol . The TCP channel uses a binary formatter to serialize all messages to a binary stream and transport the stream to the target URI using the TCP Protocol .