4. Bindings

AS COVERED IN CHAPTER 3, “CHANNELS,” a channel stack is a layered communication stack that is made up of one or more channels that process messages. Bindings are preconfigured channel stacks. They represent wire-level agreements between a client and a server. Each binding specifies the transport, encoding, and protocols involved in the communication. WCF encapsulates the configuration for the various communication scenarios using bindings. The most common communication scenarios, such as Web services, REST/POX services, and queue-based applications, are provided out of the box. For example, the basicHttpBinding binding is meant to work with services based on ASP.NET Web Services or WS-I Basic Profile 1.1 compliant services. The ...

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.