WCF Binding Comparison and Supported Features

Following table gives an overview of the different bindings in WCF service, a comparison and supported features.

Name Transport Message Encoding Message Version Interop Security Session TransactionFlow Duplex
BasicHttpBinding
(basicHttpBinding)
HTTP/HTTPS Text SOAP 1.1 Basic Profile 1.1 None, Transport, Message, Mixed N
 
WSHttpBinding
(wsHttpBinding, webHttpBinding)
[http, https]
HTTP/HTTPS Text, MTOM SOAP 1.2, WS-A 1.0 WS None, Transport,Message, Mixed None, Transport, Reliable Session No, Yes(WS-AT) N
 
WS2007HttpBinding
(ws2007HttpBinding)
[http, https]
HTTP/HTTPS Text, MTOM SOAP 1.2, WS-A 1.0 WS-Security,WS-Trust,WS-SC, WS-SP None, Transport,Message, Mixed None, Transport, Reliable Session No, Yes(WS-AT) N
WSDualHttpBinding
(wsDualHttpBinding)
[http]
HTTP Text, MTOM SOAP 1.2, WS-A 1.0 WS None,Message Reliable Session No, Yes(WS-AT) Y
 
WSFederationHttpBinding
(wsFederationHttpBinding)
[http, https]
HTTP/HTTPS Text, MTOM SOAP 1.2, WS-A 1.0 WS-Federation None,Message, Mixed None, Reliable Session No, Yes(WS-AT) N
 
WS2007FederationHttpBinding
(ws2007FederationHttpBinding)
[http, https]
HTTP/HTTPS Text, MTOM SOAP 1.2, WS-A 1.0 WS-Federation None,Message, Mixed None, Reliable Session No, Yes(WS-AT) N
 
NetTcpBinding
(netTcpBinding)
[net.tcp]
TCP Binary SOAP 1.2 .Net None,Transport, Message, Mixed Transport, Reliable Session No, Yes(OleTx) Y
 
NetPeerTcpBinding
(netPeerTcpBinding)
[net.p2p]
P2P Binary SOAP 1.2 Peer None,Transport, Message, Mixed Y
 
NetNamedPipeBinding
(netNamedPipeBinding)
[net.pipe]
Named Pipe (IPC) Binary SOAP 1.2 .Net None,Transport None,Transport No, Yes(OleTx) Y
 
NetMsmqBinding
(netMsmqBinding)
[net.msmq]
MSMQ Binary SOAP 1.2 .Net None,Transport, Message, Both No, Yes(OleTx) N
 
MsmqIntegrationBinding
(msmqIntegrationBinding)
MSMQ * MSMQ None,Transport No, Yes N