Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
.NET 11
ASP.Net 11
#ASP.Net 11
WCF 11
#DOTNET 11

Archive · View All
September 2011 4
October 2011 3
November 2011 2
February 2012 1
December 2011 1
January 2012 1
August 2011 1

Ganesh Divekar's Blog

WCF # 12 – WCF Bindings and Choosing an Appropriate Binding

Jan 5 2012 12:20PM by Ganesh Divekar   

Hi Friends,

WCF Binding is the way which defines how communication is going to take place in between client and the hosted service using endpoints.

* Bindings are used to specify the transport, encoding, and protocol details required for clients and services to communicate with each other.

* A binding is made up of a collection of binding elements.Each element describes some aspect of how the endpoint communicates with clients.

Note -  A binding must include

i) at least one transport binding element,                                                                                

ii) at least one message-encoding binding element (which the transport binding element can provide by default),

iii) any number of other protocol binding elements. The process that builds a runtime out of this description allows each binding element to contribute code to that runtime.

WCF supports following types of bindings          

1) BasicHttpBinding
  • It is suitable for communicating with ASP.NET Web services (ASMX)-based services that comfort with WS-Basic Profile conformant Web services.
  • It supports SOAP 1.1 as a messaging protocol
  • This binding uses HTTP as the transport and text/XML as the default message encoding.
  • Security is disabled by default
  • This binding does not support WS-* functionalities like WS- Addressing, WS-Security, WS-ReliableMessaging
2) WSHttpBinding
  • Defines a secure, reliable, interoperable binding suitable for non-duplex service contracts.
  • It offers lot more functionality in the area of interoperability.
  • It supports WS-* functionality and distributed transactions with reliable and secure sessions using SOAP security.
  • It uses HTTP and HTTPS transport for communication.
  • Reliable sessions are disabled by default.
3) WSDualHttpBinding

This binding is same as that of WSHttpBinding, except it supports duplex service. Duplex service is a service which uses duplex message pattern, which allows service to communicate with client via callback.

In WSDualHttpBinding reliable sessions are enabled by default. It also supports communication via SOAP intermediaries.

4) WSFederationHttpBinding

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.

5) 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, TCP for message delivery and windows security for message and authentication at run time. It uses TCP protocol and provides support for security, transaction and reliability.

6) NetNamedPipeBinding

This binding provides secure and reliable binding environment for on-machine cross process communication. It uses NamedPipe protocol and provides full support for SOAP security, transaction and reliability. By default it creates communication stack with WS-ReliableMessaging for reliability, transport security for transfer security, named pipes for message delivery and binary encoding.

7) NetMsmqBinding
  • This binding provides secure and reliable queued communication for cross-machine environment.
  • Queuing is provided by using MSMQ as transport.
  • It enables for disconnected operations, failure isolation and load leveling
8) NetPeerTcpBinding
  • This binding provides secure binding for peer-to-peer environment and network applications.
  • It uses TCP protocol for communication
  • It provides full support for SOAP security, transaction and reliability.

Choosing an Appropriate Binding

The approach used to choose a binding is to examine the features your application needs and determine a binding that matches those requirements.

Following table compares features of each preconfigured binding so you can select the binding based on your requirements.

There are many features,including interoperability, durability, reliability, and transactions.

For example, if your application needs to communicate over an unreliable network,such as a wireless network connection, you might want a binding that supports reliable sessions (RS).

 

image

The following diagram shows a process you might use to select a binding.

image

 

Thanks.

Hope this will help you.

Tags: #DOTNET, WCF, #ASP.Net, ASP.Net, .NET,


Ganesh Divekar
160 · 1% · 298
2
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

2  Comments  

  • Nice exaplanation Ganesh... Diagram simplfies process of decision making while choosing binding...

    commented on Jan 5 2012 10:45PM
    Ramireddy
    2 · 41% · 12972
  • Thanks Rammi....

    commented on Jan 5 2012 11:36PM
    Ganesh Divekar
    160 · 1% · 298

Your Comment


Sign Up or Login to post a comment.

"WCF # 12 – WCF Bindings and Choosing an Appropriate Binding" rated 5 out of 5 by 2 readers
WCF # 12 – WCF Bindings and Choosing an Appropriate Binding , 5.0 out of 5 based on 2 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]