Choosing binding for WCF service
There are different types of bindings supported by WCF. Now question is which binding is suitable for your service.Following is list of frequently used bindings in WCF:
This is matrix of high level features of bindings. This is excerpt from MSDN.
Binding | Interoperability | Mode of Security (Default) | Session (Default) | Transactions | Duplex |
BasicHttpBinding | Basic Profile 1.1 | (None), Transport, Message, Mixed | None, (None) | (None) | n/a |
WSHttpBinding | WS | None, Transport, (Message), Mixed | (None), Transport, Reliable Session | (None), Yes | n/a |
WS2007HttpBinding | WS-Security, WS-Trust, WS-SecureConversation, WS-SecurityPolicy | None, Transport, (Message), Mixed | (None), Transport, Reliable Session | (None), Yes | n/a |
WSDualHttpBinding | WS | None, (Message) | (Reliable Session) | (None), Yes | Yes |
WSFederationHttpBinding | WS-Federation | None, (Message), Mixed | (None), Reliable Session | (None), Yes | No |
WS2007FederationHttpBinding | WS-Federation | None, (Message), Mixed | (None), Reliable Session | (None), Yes | No |
NetTcpBinding | .NET | None, (Transport), Message, Mixed | Reliable Session, (Transport) | (None), Yes | Yes |
NetNamedPipeBinding | .NET | None, (Transport) | None, (Transport) | (None), Yes | Yes |
NetMsmqBinding | .NET | None, Message, (Transport), Both | (None) | (None), Yes | No |
NetPeerTcpBinding | Peer | None, Message, (Transport), Mixed | (None) | (None) | Yes |
MsmqIntegrationBinding | MSMQ | None, (Transport) | (None) | (None), Yes | n/a |
If you have any doubt please reply to this post else mail me on sujeet.bhujbal@gmail.com
No comments:
Post a Comment