article offers a brief explanation on the basic concepts of the Communication
part in the Windows Communication Foundation. WCF binding is generally set of binding elements
and each element specify the communication between client and service. Each
binding must have at least one transport element and one message encoding
element. Click here to understand various types of Contracts in WCF.
- It is suitable for communicating with ASP.NET Web
services (ASMX)-based services that comfort with WS-Basic Profile conformant
- This binding uses HTTP as the transport and
text/XML as the default message encoding.
- You can also use Https with this binding.
- Defines a
secure, reliable, interoperable binding.
supports WS-* functionality and distributed transactions with reliable and
secure sessions using SOAP security.
- It uses
HTTP and HTTPS transport for communication.
sessions are not supported
binding is same as that of WSHttpBinding, except it supports duplex service.
Duplex service is a service which uses duplex message pattern, which allows
service to communicate with client via callback.
WSDualHttpBinding reliable sessions are enabled by default.
binding support federated security. It helps implementing federation which is
the ability to flow and share identities across multiple enterprises or trust
domains for authentication and authorization. It supports WS-Federation
.Net to .Net cross machine communication. By default it creates communication
stack using WS-ReliableMessaging protocol for reliability, TCP for message
delivery and windows security for message and authentication at run time. It
uses TCP protocol and provides support for security, transaction and
on-machine cross process communication. It uses NamedPipe protocol and provides
full support for SOAP security, transaction and reliability.It creates
communication stack with WS-ReliableMessaging for reliability, transport
security for transfer security, named pipes for message delivery and binary
- This binding provides secure and reliable
queued communication for cross-machine environment.
- Queuing is provided by using MSMQ as
- It enables for disconnected operations,
- Microsoft Message Queuing (MSMQ) is
Microsoft’s solution to reliable, robust distributed application design.
- This binding provides secure binding for
peer-to-peer environment and network applications.
- It uses TCP protocol for communication
- It provides full support for SOAP security,
transaction and reliability