The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
The main types of bindings in WCF define how the client and service communicate—specifically the transport protocol, encoding, and security. Each binding suits different scenarios.
Common WCF Binding Types and Examples
BasicHttpBinding
Uses HTTP protocol with SOAP 1.1 messaging.
Supports interoperability with older ASMX web services and non-.NET platforms.
Example: Calling a legacy SOAP service over HTTP.
WsHttpBinding
Uses HTTP with SOAP 1.2 and supports WS-* standards (security, reliability, transactions).
Suitable for secure, interoperable enterprise services.
Example: Services requiring message security and reliable sessions.
NetTcpBinding
Uses TCP protocol with binary encoding.
Designed for high-performance communication on intranets.
Supports security and reliable sessions.
Example: Internal services within a corporate network needing fast communication.
NetNamedPipeBinding
Uses named pipes for on-machine communication.
Very fast but only works on the same machine.
Example: Communication between services and clients on the same Windows machine.
NetMsmqBinding
Uses Microsoft Message Queuing (MSMQ) for asynchronous, reliable messaging.
Supports disconnected scenarios and durable messaging.
Example: Queued messaging where the client and service don’t need to be online simultaneously.
WebHttpBinding
Used for RESTful services over HTTP.
Supports HTTP verbs (GET, POST, PUT, DELETE).
Example: Exposing a REST API with JSON or XML.
Summary Table
Binding
Protocol
Encoding
Usage Scenario
BasicHttpBinding
HTTP
Text/XML
Simple SOAP 1.1, cross-platform
WsHttpBinding
HTTP
Text/XML
Secure SOAP 1.2 with WS-* standards
NetTcpBinding
TCP
Binary
High-performance intranet communication
NetNamedPipeBinding
Named Pipes
Binary
On-machine communication
NetMsmqBinding
MSMQ
Binary
Asynchronous queued messaging
WebHttpBinding
HTTP
Text/JSON
RESTful services
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The main types of bindings in WCF define how the client and service communicate—specifically the transport protocol, encoding, and security. Each binding suits different scenarios.
Common WCF Binding Types and Examples
Summary Table