天天看点

WCF系统内置绑定列表与系统绑定所支持的功能

                        WCF系统内置绑定列表

绑定 配置元素 说明 传输协议 编码格式
BasicHttpBinding <basicHttpBnding>

一个绑定,适用于与符合 WS-Basic Profile的Web服务(例如基于 ASP.NET Web 服务(ASMX)的服务)进行的通信。

此绑定使用HTTP作为传输协议,并使用文本/XML作为默认的消息编码

HTTP/HTTPS Text,MTOM
WSHttpBinding <wsHttpBinding> 一个安全且可互操作的绑定,适合于非双工服务约定
WS2007HttpBinding <ws2007HttpBinding> 一个安全且可互操作的绑定,可为Security,ReliableSession的正确版本和TransactionFlow绑定元素提供支持
WSDualHttpBinding <wsDualHttpBinding> 一个安全且可互操作的绑定,适用于双工服务协定或通过SOAP媒介进行的通信 HTTP
WSFederationHttpBinding <wsFederationHttpBinding> 一个安全且可互操作的绑定,支持WS联合协议并使联合中的组织可以高效地对用户进行身份验证和授权

Text,

MTOM

WS2007FederationHttpBinding <ws2007FederationHttpBinding> 一个安全且可互操作的绑定,派生自WS2007HttpBinding并支持联合安全性
NetTcpBinding <netTcpBinding> 一个安全且经过优化的绑定,适用于WCF应用程序之间跨计算机的通信 TCP Binary
NetNamedPipeBinding <netNamedPipeBinding> 一个安全,可靠且经过优化的绑定,适用于WCF应用程序之间跨计算机的通信 IPC
MsmqIntegrationBinding <msmqIntegrationBinding> 一个绑定,适用于WCF应用程序和现有消息队列(也称为MSMQ)应用程序之间跨计算机的通信 MSMQ
NetMsmqBinding <netMsmqBinding> 一个排队绑定,适用于WCDF应用程序之间跨计算机的通信
NetPeerTcpBinding <netPeerTcpBinding> 一个支持多计算机安全通信的绑定 P2P

            WCF各系统绑定所支持的功能

绑定名称 传输性安全 消息级安全 WS*兼容性 WS*事务支持 持久可靠消息传送 可靠会话 性能 请求/响应 单向 双工
basicHttpBing 良好
wsHttpBinding
wsDualHttpBinding
netTcpBinding 更佳
netNamedPipeBinding 最佳
netMsmqBinding
netTcpPeerBinding
msmqIntegrationBinding
wsFederationhttpBinding l良好

继续阅读