不同的WCF绑定,他们之间的分歧,并与其他平台之间的兼容性 [英] Different WCF Bindings, their differences and compatibility with other platforms

查看:225
本文介绍了不同的WCF绑定,他们之间的分歧,并与其他平台之间的兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找的WCF绑定主题的一些优秀的技术细节,我想知道下面的东西。




  1. 的不同表WCF绑定其特殊的目的和限制。

  2. 兼容性/互操作性与其他平台与Java,PHP客户消费WCF服务。支持哪些约束力,这是不是。

  3. 如果我想获得/通过服务API后安全的数据而结合,我应该使用,如果客户端应用程序是用Java或者PHP?



  4. 我已通过不同的材料通过互联网浏览,但它是不进行详细和稍微散射。等待一些良好的反应。


    解决方案

    选择合适的WCF绑定






    1. basicHttpBinding的:基本Web服务通信。公开WCF服务,ASMX传统的Web服务。用于互操作性。没有安全默认情况下。

    2. 的WSHttpBinding :Web服务使用WS- *的支持。支持事务和可靠的消息。

    3. WSDualHttpBinding :Web服务与双工合同和交易的支持。

    4. WSFederationHttpBinding :Web服务与联合安全性。支持交易。

    5. MsmqIntegrationBinding :直接与MSMQ应用通信。支持交易。

    6. NetMsmqBinding :使用WCF排队应用程序之间的通信。支持交易。

    7. NetNamedPipeBinding :同一台计算机上WCF应用程序之间的通信。支持双面合约的交易。

    8. NetPeerTcpBinding :整个对等网络服务的计算机之间的通信。支持双面合同。

    9. NetTcpBinding的:跨计算机WCF应用程序之间的通信。支持双面合同和交易。


    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.

    解决方案

    Choosing the right WCF binding

    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.

    这篇关于不同的WCF绑定,他们之间的分歧,并与其他平台之间的兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆