DCSIMG
WCF - Part 3: Binding Comparison - Maor's Blog

WCF - Part 3: Binding Comparison

Windows Communication Foundation (WCF) has various built-in bindings. System-provided bindings are used to specify the transport protocols, encoding, and security details required for clients and services to communicate with each other.
Although some of these values can be configured differently on certain bindings, the table shows the defaults for each type.
 
This post will briefly describe and summarize the key differences between WCF's built-in bindings.
 
Note: WCF also allows you to define your own custom bindings.
 

Class name

Description

Transport

Message encoding

Security

BasicHttpBinding

A binding that is suitable for communication with WS-Basic Profile conformant Web Services like ASMX-based services. This binding uses HTTP as the transport and Text/XML as the message encoding.

HTTP

 

Text

 

None

WSHttpBinding

A secure and interoperable binding that is suitable for non-duplex service contracts.

HTTP

 

Text

 

Message

WSDualHttpBinding

A secure and interoperable binding that is suitable for duplex service contracts or communication through SOAP intermediaries.

HTTP

 

Text

 

Message

WSFederationHttpBinding

A secure and interoperable binding that supports the WS-Federation protocol, enabling organizations that are in a federation to efficiently authenticate and authorize users.

HTTP

 

Text

 

Message

NetTcpBinding

A secure and optimized binding suitable for cross-machine communication between WCF applications

TCP

 

Binary

 

Transport

NetPeerTcpBinding

A binding that enables secure, multi-machine communication.

P2P

 

Binary

 

Transport

NetNamedPipesBinding

A secure, reliable, optimized binding that is suitable for on-machine communication between WCF applications.

Named Pipes

 

Binary

 

Transport

NetMsmqBinding

A queued binding that is suitable for cross-machine communication between WCF applications.

MSMQ

 

Binary

 

Message

MsmqIntegrationBinding

A binding that is suitable for cross-machine communication between a WCF application and existing MSMQ applications.

MSMQ

 

doesn’t use a WCF message encoding – instead it lets you choose a pre-WCF serialization format

Transport

 
Back to WCF TOC.
Published 25 May 2007 05:43 PM by Maor David-Pur
תגים:,

Comments

# Maor David's Blog : WCF Articles said on 25 May, 2007 06:19 PM
PingBack from http://blogs.microsoft.co.il/blogs/maordavid/archive/2007/05/18/WCF-Articles.aspx
# Maor David's Blog said on 25 May, 2007 06:24 PM
In order to introduce Windows Communication Foundation (WCF) I'm starting a series of posts here. Most
# שחר said on 20 September, 2007 08:27 AM

שלום רב.

שמי שחר ואני עובד בקבוצת פיתוח מע' מידע באלתא.

בימים אלו אנו מתחילים להיכנס לעולם ה WCF.

עד היום המערכות שלנו פעלו ב3 שכבות, כאשר מעבר הנתונים מה CLIENT לשכבת ה BL נעשה באמצעות WebService.

באפליקציה פשוטה שבה יש מסך עם גריד שמציג נתונים מטבלה אחת, היינו פשוט שולפים את הטבלה, ומעבירים אובייקט DataSet עם טבלה אחת, דרך ה WebService.

מכיוון שאנחנו עובדים רק בסביבת Intranet בחברה, הביצועים הם מעולים ומהירות התגובה היא טובה מאוד.

רציתי לדעת האם אפשר להעביר אובייקט DataSet או אובייקט DataTable דרך Wcf, או שאולי אתה יכול להמליץ לנו על כיוון שונה שיתן תוצאות יותר טובות.

תודה רבה.

sshimshon@elta.co.il

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above:

Search

Go

This Blog

News

    RSS

     

    Connect with Me

    Maor's Facebook profile  Follow Maor on Twitter  Maor's profile on Linkedin  Maor in FriendFeed 
           

Syndication