What is Binding in WCF ?
WCF bindings are basically objects used to specify the communication details that are required to connect to the endpoint of WCF
Types of WCF Binding -
1. BasicHttpBinding
2. WSHttpBinding
3. WSDualHttpBinding
4. WSFederationHttpBinding
5. NetTcpBinding
6. NetNamedPipeBinding
7. NetMsmqBinding
8. NetPeerTcpBinding
9. MsmqIntegrationBinding
2. WSHttpBinding
3. WSDualHttpBinding
4. WSFederationHttpBinding
5. NetTcpBinding
6. NetNamedPipeBinding
7. NetMsmqBinding
8. NetPeerTcpBinding
9. MsmqIntegrationBinding
1) BasicHttpBinding -
It is suitable for communicating with ASP.NET Web Service that comfort with WS-Basic Profile conformant web service. It uses Http protocol for transport and encodes the messages
2) WSHttpBinding -
This binding also supports interoperability and by default reliable sessions are disabled. It uses HTTP and HTTPS transport for communication.
3) WSDualHttpBinding -
WSHtppBinding and WSDualHtppBinding are same ,except it supports duplex service. Duplex service is service which uses duplex message pattern.
4) WSFederationHttpBinding -
This binding supports federated security and it supports WS-Federation Protocol.
5) NetTcpBinding -
NetTcpBinding provides secure and reliable binding environment for .Net to .Net cross machine communication. It also supports TCP and Binary Protocol for encoding method.
6) NetNamedPipeBinding -
provides secure and reliable binding environment for on-machine cross process communication. It uses named pipes as transport for SOAP messages.
7) NetMsmqBinding -
provides secure and reliable queued communication for cross-machine environment . This Msmq as transport.
8) NetPeerTcpBinding -
NetPeerTcpBinding provides secure binding for peer-to-peer environment and network applications. It uses TCP Protocol for communication.
9) MsmqIntegrationBinding -
It is provided by MsmqIntegrationBinding class and offers support to communicate with existing systems that communicate via MSMQ.
No comments:
Post a Comment