basicHttpBinding 与 wsHttpBinding [英] basicHttpBinding vs wsHttpBinding
本文介绍了basicHttpBinding 与 wsHttpBinding的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 WCF 端点中,basicHttpBinding 和 wsHttpBinding 有什么区别?什么时候应该使用?
In a WCF endpoint, what is the difference between basicHttpBinding and wsHttpBinding? When should each be used?
推荐答案
关于这方面的大量材料 - 只需谷歌搜索WCF basicHttpBinding wsHttpBinding".
Ton of material on that out there - just google for "WCF basicHttpBinding wsHttpBinding".
您会发现:
- WCF : BasicHttpBinding compared to WSHttpBinding at SOAP packet level.
- Difference between BasicHttpBinding and WsHttpBinding and many, many more!
基本上:
- basicHttp 是 SOAP 1.1,wsHttp 是 SOAP 1.2(它们完全不同,尤其是在 SOAP 错误方面)
- 基本是 - 非常基本.它与旧式 ASMX ASP.NET 网络服务以及几乎任何其他网络服务堆栈兼容
- basic 的安全设置非常有限
- wsHttp 是无数 WS-* 标准的实现,并提供了更多功能:安全性、可靠的消息传递、事务支持、双工通信和更多的主机.
- wsHttp 是更重"、更广泛的协议,兼容性较差,灵活性较差
这篇关于basicHttpBinding 与 wsHttpBinding的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文