3. Channels

A CHANNEL IS THE CONDUIT through which all messages pass to and from WCF applications. It is responsible for preparing and delivering messages in a consistent way. Channels are defined for transports, protocols, and message interception. Channels are layered together to create a channel stack. A channel stack is a layered communication stack that processes messages. For example, a channel stack could be constructed using a TCP transport channel and a transaction protocol channel. Such a channel stack would allow sending and receiving messages across a network using the TCP protocol and transactions to flow from client to server.

The goal of a channel stack is to transform a message into a wire format compatible with the sender and ...

Get Essential Windows Communication Foundation: For .NET Framework 3.5 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.