在WCF端點中,basicHttpBinding和wsHttpBinding有什麼區別?什麼時候應該使用?basicHttpBinding vs wsHttpBinding
回答
噸的材料就在那裏 - 只是谷歌的「WCF basicHttpBinding wsHttpBinding」。
你會發現除其他外:
- WCF : BasicHttpBinding compared to WSHttpBinding at SOAP packet level.
- Difference between BasicHttpBinding and WsHttpBinding 和很多很多!
非常基本:
- basicHttp是SOAP 1.1,wsHttp是SOAP 1.2(它們是完全不同的,尤其當涉及到SOAP錯誤。)
- 基本是 - 非常基本的。它兼容舊式的ASMX ASP.NET webservices和幾乎任何其他web服務堆棧
- 基本的安全設置是非常有限的
- wsHttp是一個巨大的WS- *標準的實現,並提供了很多更多功能:安全性,可靠的消息傳遞,交易支持,雙工通信和整個主機更多。
- wsHttp是多少「重」,更廣泛的協議,相容性較差,不太靈活
我試圖尋找WCF basicHttpBinding wsHttpBinding並得到這個網頁... – 2013-06-25 08:07:57
@IvanP:**這個答案需要什麼**有待改進?我試圖展示這兩個綁定之間的主要區別 - 您認爲這個答案中缺少了什麼? – 2014-04-01 20:47:48
好吧,兩個鏈接關閉,你對谷歌的建議是回送。此外,如果可以,請提供更多信息,並且在每個應用程序都未回答時。 – IvanP 2014-04-01 21:51:03
wsHttpBinding
更加安全可靠,比basicHttpBinding
。如果不需要很好的兼容性,則可以選擇wsHttpBinding
。
編號:BasicHttpBinding vs WSHttpBinding
BasicHttpBinding
:
- WS-I Basic Profile的1.1規範(舊ASMX風格)
- 它支持SOAP 1.1的消息傳遞協議
- 不支持WS - 安全性,整個有效負載以純文本形式發送。
- 提供高水平的互操作性。
WSHttpBinding
:
- 允許您使用各種WS- *規範,如WS-Security 1.1,WS可靠消息等
- 它支持SOAP 1.2的消息傳遞協議
- 作爲它使用WS- *規範構建,它不支持更廣泛的客戶端。
該鏈接已死亡 – 2016-01-04 16:30:04
- 1. BasichttpBinding vs WCF的WSHttpBinding
- 2. WsHttpBinding VS WS2007HttpBinding VS WSDualHttpBinding ..?
- 3. BasicHttpBinding和WsHttpBinding之間的代理
- 4. WCF wsHttpBinding和BasicHttpBinding在相同的WCF服務應用程序中
- 5. WCF IIS託管的wsHttpBinding服務 - svcutil使用basicHttpBinding生成代理!
- 6. 使用wsHttpBinding或basicHttpBinding for Silverlight應用程序,哪一個?
- 7. WCF從基本去的wsHttpBinding
- 8. 使用VS2010中的「添加服務引用」生成WsHttpBinding而不是BasicHttpBinding
- 9. WCF basichttpbinding netTcpBinding路由
- 10. WCF wsHttpBinding with Transport Security
- 11. netTcpBinding/BasicHttpBinding
- 12. 編程方式與WsHttpBinding的
- 13. WCF:是否使用WsHttpBinding可互操作?
- 14. wsHttpBinding中ws究竟代表什麼?
- 15. 使用wsHttpBinding,WCF忽略我的web.config
- 16. WCF .NET核心 - WsHttpBinding配置project.json
- 17. WCF服務:WSHttpBinding
- 18. 越來越即使我使用的wsHttpBinding
- 19. WSHttpBinding TransportWithMessageCredential SecurityMode改變請求
- 20. WCF配置 - basicHttpbinding
- 21. WCF BasicHttpBinding Http Post
- 22. BasicHttpBinding和MessageVersion.None
- 23. 通過basicHttpBinding的
- 24. 與basicHttpBinding的
- 25. 使用PHP Soap客戶端消費wsHttpBinding
- 26. Unity IoC + WCF + wsHTTPBinding +證書授權
- 27. WCF綁定設置爲wsHttpBinding使用瀏覽器訪問Web服務將其作爲basicHttpBinding
- 28. 使用WSHttpBinding的WCF和Java Interop,
- 29. NetTcpBinding的或的wsHttpBinding
- 30. WCF服務的wsHttpBinding
我從下面的鏈接找到了很好的幫助。試試看。它的活躍。 http://stackoverflow.com/questions/2650785/basichttpbinding-vs-wshttpbinding-vs-webhttpbinding – 2016-01-08 12:44:00