What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 26864 |  Welcome, Guest!   Register  Login
 Home > Blogs > WCF > How to Choose the right WCF binding ? ...
Rajkatie

How to Choose the right WCF binding ?

 Blog author: Rajkatie | Posted on: 6/19/2012 | Category: WCF Blogs | Views: 1371 | Status: [Member] | Points: 75 | Alert Moderator   


WCF service support following 10 Predefined binding.
  • BasicHttpBinding
  • wsHttpBinding
  • ws2007HttpBinding
  • netTcpBinding
  • netNamedPipeBinding
  • netMsmqBinding
  • wsFederationHttpBinding
  • ws2007FederationHttpBinding
  • wsDualHttpBinding
  • customBinding
Out of above, which one right for your application is depend upon following scenarios.
  1. If you need to support clients over the Internet, consider using wsHttpBinding.
  2.  If you need to expose your WCF service to legacy clients such as an ASMX Web service,use basicHttpBinding.
  3.  If you need to support WCF clients within an intranet, consider using netTcpBinding.
  4.  If you need to support WCF clients on the same machine, consider using netNamedPipeBinding.
  5.  If you need to support disconnected queued calls, use netMsmqBinding.
  6.  If you need to support bidirectional communication between the WCF client and WCF service, use wsDualHttpBinding or netTcpBinding.
The choice of binding plays an important role in your authentication options because not all transport or message security authentication options are supported across all bindings.

  Hope, this one helps you in your WCF application.

  




Rajesh Patel
MCPD,MS
Brainbench (Asp.Net 4.0 and CSS 3.0)
Found interesting? Add this to:


About Rajesh Patel

Experience:6 year(s)
Home page:http://www.dotnetfunda.com/profile/rajkatie.aspx
Member since:Tuesday, February 14, 2012
Level:Silver
Status: [Member]
Biography:More than 6 years of professional experience in web based application development using Microsoft technology stack like ASP.NET with C#, .Net Ajax,Sql Server 2008/2005, .Net Web Services (Asmx,Page Methods and WCF).

Ability choose the best technology, platform and technique, based on a given problem definition and drive the best implementation through all development phase.

 Responses

Akiii
Posted by: Akiii | Posted on: 6/14/2012 | Level: Bronze | Status: [Member] | Points: 15 | Alert Moderator 

Good information Rajesh .......
Keep posting more in WCF...


Thanks and Regards
Akiii

>> Write Response - Respond to this post and get points

More Blogs

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 6:27:14 AM