Channels

Channels marshal, format, and transmit messages across AppDomains. Each of a channel's tasks opens new opportunities for extensibility. For example, message contents can be marshaled to conform to the proper data representation using custom sinks. The message itself can be formatted via the built-in Simple Object Access Protocol (SOAP) or binary formatters. Additionally, transport protocols, such as HTTP or TCP, which are built-in, can be configured with ease. The architecture also supports customizable marshalling, formatting, and transmission components that can be plugged in as needed. Figure 21.3 shows the relationship of the channel to other remoting architecture components. The HTTPChannel, linking the proxy in AppDomain A to the ...

Get C# Unleashed 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.