Bindings will tell how the client will communicate with the outer world. It tells which protocols will your WCF use. It is used as per client need. It supports different types of encodings
A binding has several characteristics:
Transport: Defines the base protocol to be used like HTTP, Named Pipes, MSMQ and TCP.
Encoding(Optional): Three types of encodings are available - Text, Binary or Message Transmission Optimization Mechanism(MTOM). MTOM is an interoperable message format that allows the effective transmission of attachments and Large messages(greater than 64k).
Protocol(Optional): Defines Information to be used in the Binding such as Security, Transaction or Reliable Message Capability.
The following Table List some of the Important Bindings used by WCF Binding:
A binding has several characteristics:
Transport: Defines the base protocol to be used like HTTP, Named Pipes, MSMQ and TCP.
Encoding(Optional): Three types of encodings are available - Text, Binary or Message Transmission Optimization Mechanism(MTOM). MTOM is an interoperable message format that allows the effective transmission of attachments and Large messages(greater than 64k).
Protocol(Optional): Defines Information to be used in the Binding such as Security, Transaction or Reliable Message Capability.
The following Table List some of the Important Bindings used by WCF Binding:
| Binding | Description |
|---|---|
| BasicHttpBinding | Basic Web Service Communication. No Security by Default |
| WSHttpBinding | Web Services with -* support. Support Transactions |
| WSDualHttpBinding | Web Services with Duplex Contract and Transaction Support |
| WSFederationHttpBinding | Web Services with Federated Security. Supports Transactions |
| MsmqIntegrationBinding | Communication with MSMQ Applications. Supports Transactions |
| NetMsmqBinding | Communication Between WCF Binding by using Queueing. Supports Transactions. |
| NetNamedPipeBinding | Communnication between WCF Applications on same Computer. Supports Duplex Contracts and Transactions. |
| NetPeerTcpBinding | Communications Between Computers across peer to peer services. Supports Duplicate Contracts |
| NetTcpBinding | Communication between WCF Applications across Computers. Supports Duplex Contracts and transactions |
No comments:
Post a Comment