Format and Encoding Binding
Each of the standard bindings uses different transport and encoding
| Name |
Transport |
Encoding |
Interoperable |
| BasicHttpBinding |
HTTP/HTTPS |
Text, MTOM |
Yes |
| NetTcpBinding |
TCP |
Text, MTOM |
No |
| NetPeerTcpBinding |
P2P |
Binary |
No |
| NetNamedPipeBinding |
IPC |
Binary |
No |
| WSHttpBinding |
HTTP/HTTPS |
Text, MTOM |
Yes |
| WSFederationHttpBinding |
HTTP/HTTPS |
Text, MTOM |
Yes |
| WSDualHttpBinding |
HTTP |
Text, MTOM |
Yes |
| NetMsmqBinding |
MSMQ |
Binary |
No |
| MsmqIntegrationBinding |
MSMQ |
Binary |
Yes |
Choosing a Binding
Choosing a binding for your service should follow the decision-activity
diagram