Search code examples
c#javaphp.netwcf

Different WCF Bindings, their differences and compatibility with other platforms


I am looking for some good technical details on Topic of WCF bindings, I am interested to know following things.

  1. List of Different WCF Bindings with its special purpose and limitation.
  2. Compatibility/Interoperability with other platform like consuming WCF service in Java, PHP client. Which binding is supported and which is not.
  3. If I want to get/post secure data through service API which binding should I use if client application is in Java or Php ?

I have browsed through different material over internet but it is not in detail and somewhat scattered. Waiting for some good responses.


Solution

  • Choosing the right WCF binding

    enter image description here

    1. BasicHttpBinding: Basic web service communication. Exposes WCF services as legacy ASMX web services. Used for interoperability. No security by default.
    2. WSHttpBinding: Web services with WS-* support. Supports transactions and reliable messaging.
    3. WSDualHttpBinding: Web services with duplex contract and transaction support.
    4. WSFederationHttpBinding: Web services with federated security. Supports transactions.
    5. MsmqIntegrationBinding: Communication directly with MSMQ applications. Supports transactions.
    6. NetMsmqBinding: Communication between WCF applications by using queuing. Supports transactions.
    7. NetNamedPipeBinding: Communication between WCF applications on same computer. Supports duplex contracts and transactions.
    8. NetPeerTcpBinding: Communication between computers across peer-to-peer services. Supports duplex contracts.
    9. NetTcpBinding: Communication between WCF applications across computers. Supports duplex contracts and transactions.