Home > DeveloperSection > Interviews > What are the types of binding available in WCF?

Posted on    May-19-2012 2:03 AM

 WCF WCF 
Ratings:
 1 Answer(s)
  2018  View(s)
Rate this:

Tanuj Kumar

Total Post:30

Points:150
Posted on    May-19-2012 12:00 AM

Types of binding available in WCF


A binding is identified by the transport it supports and the encoding it uses. Transport may be HTTP, TCP etc and encoding may be text,binary etc. The popular types of binding may be as below:

BasicHttpBinding

It is suitable for communicating with ASP.NET Web services (ASMX)-based services that comfort with WS-Basic Profile conformant Web services.

NetTcpBinding

This binding provides secure and reliable binding environment for .Net to .Net cross machine communication. By default it creates communication stack using WS-ReliableMessaging protocol for reliability,

WSHttpBinding

This 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 protocol.

NetMsmqBinding

This binding provides secure and reliable queued communication for cross-machine environment.



Modified On Mar-28-2016 07:19:13 AM

Don't want to miss updates? Please click the below button!

Follow MindStick