Choosing a Predefined Binding in WCF: Defining a Custom Binding in WCF: A binding is made up of a collection of binding elements, each of which describes some feature of the endpoint's communication. It is important to know about transports, encoding, and other elements when you create a custom binding, because you must choose which elements to put into the stack. A binding must specify at least a transport and an encoder. For example, the NetTcpBinding combines the TCP transport with a binary encoder. You may wish to create a new binding to accommodate a new transport or encoding. WCF provides three predefined transports:
In addition to a transport, a binding requires a message encoder to serialize a WCF message into bytes. WCF has three encoders to handle text, binary, and MTOM data. The text encoder supports plain old XML (POX) as well as SOAP encoding. If your encoding requirement is not handled by these three encoders, you can write your own custom encoder. | ||
For More Info Please Visit: WCF Resources Page |
Saturday, October 16, 2010
Binding in WCF: (WCF Part 8)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment