The binding specifies, who to communicate with an endpoint.
The binding includes which transport protocol used for communication.
Binding is a contracted with set of components called binding elements.It contains all the rules to communicate.
Types Of Bindings
1.Basic HTTP Binding
Description
BasicHttpBinding does not provide security for the messages which are transferred in a network.It will send the messages in Text/XML format only.BasicHttpBinding works only on HTTP Protocol.
2.WS HTTP Binding
Description
WSHTTPBinding provides SOAP (Simple Object Access Protocol) protocol security when the messages are transferred to the network. i.e. The messages will be encrypted.SOAP protocol security means WS. This binding will work with HTTP and HTTPS protocol.
3.WS Dual HTTPBinding
Description
It is similar to WSHTTPBinding, but it will support duplex message pattern.
4.WS-Federation HTTP Binding
Description
It is used to give authentication for the user within Federation or Organization.
The userswithin organization or register users can receive messages from WCF Service.It will provide SOAP protocol security and will work with HTTP Protocol.
5.Net TCP Binding
Description
It is used for .NET to .NET application.It will provide SOAP Protocol security and will work with TCP Protocol.
6.Net Peer TCP Binding
Description
It is used to work with network applications and this also provides SOAP Protocol security and will work with TCP Protocol.
7.Net Named Pipe Binding
Description
It is used for communication between WCF Service and Client which runs in different process in one system.
Process area is a container in RAM where .NET applications will execute and the data related to .NET applications will be stored. It will provide SOAP Protocol security and will work with "Named Pipe Protocol".
8.Net MSMQ Binding
Description
It is used for "Queued Communication" between WCF Service and Client in different systems in the network. The messages send by the client will be in "Queue" in the network and WCF Service will accept the requested one by one which are in queue or order.It will work with MSMQ protocols
9.MSMQ Integration Binding
Description
It will provide direct integration with WCF Service and MSMQ and it will work with MSMQ Protocol.