Working with Binding

Working with Binding

DOI: 10.4018/978-1-5225-1997-3.ch005
OnDemand PDF Download:
No Current Special Offers

Chapter Preview


Introduction To Binding

As address is an import part of endpoint, binding is also vital part of the endpoint as it decides how to communicate. It determines the protocol, message encoding and message pattern and vital features such as whether to provide security, transaction or reliable messaging. Based on the type of binding selected by a programmer related address format must be used which matches that binding. There several predefine bindings available in WCF. In the Table 1, the details of each predefined binding are summarized.

Table 1.
Summary of each predefined binding with a scheme of address
Related ClassConfiguration NameDescriptionScheme
BasicHttpBindingbasicHttpBindingA binding which is compatible with ASP.NET Web service (*.ASMX)http /https
WSHTTPBindingwsHttpBindingA binding for reliable messaging, Transaction and security using latest web service standards using web service standards (WS*).http/https
WSDualHttpBindingwsDualHttpBindingA binding for duplex communicationhttp/https
WSFederationBindingwsFederationBindingA binding to support federated security and WS* security standardshttp/https
NetTcpBindingnetTcpBindingA connection oriented binding which uses TCP bindingnet.tcp
NetNamedPipeBindingnetNamedPipeBindingA connection oriented binding to support inter-process
NetMsmqBindingnetMsmqBindingA binding to support reliable communication using Microsoft Message Queue (MSMQ)net.msmq
NetPeerTcpBindingnetPeerTcpBindingA binding to support peer to peer communicationnet.tcp
MsmqIntegrationBindingmsmqIntegrationBindingA binding to have the support of MSMQ componentsnet.msmq

Complete Chapter List

Search this Book: