Professional Documents
Culture Documents
Understanding Various Types of WCF Bindings
Understanding Various Types of WCF Bindings
W CF binding is a set of binding elements and each element specify, how the service and client will
communicates with each other's. Each binding must have at least one transport element and one
message encoding element.
WCF has a couple of built in bindings which are designed to fulfill some specific need. You can also define
your own custom binding in WCF to fulfill your need. All built in bindings are defined in the
System.ServiceModel Namespace. Here is the list of 10 built in bindings in WCF which we commonly used:
two machines with in intranet (means same network). It encodes the message in binary format. This is
faster and more reliable binding as compared to the Http protocol bindings. It is only used when
communication is WCF - to – WCF means both client and service should have WCF.
. Depending upon your requirements, you can choose a binding for your service as shown below in the
diagram:
http://www.dotnet-tricks.com/Tutorial/wcf/VE8a200713-Understanding-various-types-of-WCF-bindings.html 2/4
6/27/2014 Understanding various types of WCF bindings
I hope you will enjoy the tips while programming with WCF. I would like to have feedback from my blog
readers. Your valuable feedback, question, or comments about this article are always welcome.
Print Article
Tw eet
Shailendra Chauhan works as Software Analyst at reputed MNC and has more than 5 years of hand
over Microsoft .NET technologies. He is a .NET Consultant and is the founder & chief editor of
www.dotnet-tricks.com and www.dotnetinterviewtricks.com blogs. He is an author of book ASP.NET
MVC Interview Questions and Answers.
He loves to work with web applications and mobile apps using Microsoft technology including ASP.NET,
MVC, C#, SQL Server, WCF, Web API, Entity Framework,Cloud Computing, Windows Azure, jQuery,
jQuery Mobile, Knockout.js, Angular.js and many more web technologies. More...
http://www.dotnet-tricks.com/Tutorial/wcf/VE8a200713-Understanding-various-types-of-WCF-bindings.html 4/4