什么是REST完整WCF服务 [英] What is REST full WCF Service
本文介绍了什么是REST完整WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是WCF中的REST完整服务.
What is REST full service in WCF.
推荐答案
通常,WCF服务将使用SOAP,但如果您构建REST服务,则客户端将访问您的服务.具有不同的体系结构样式(调用,JSON等序列化等).
在不利方面,您会丢失许多在SOAP标头规范(例如WS- *,例如WS-Security,WS-ReliableMessaging,WS-AtomicTransactions)上完成的工作.同样,SOAP是传输中立的,而REST以HTTP为前提.
好的MSDN参考位于: http://msdn.microsoft.com/en-us/library/dd203052.aspx [ ^ ]
Normally, a WCF service will use SOAP, but if you build a REST service clients will be accessing your service with a different architectural style (calls, serialization like JSON, etc).
In terms of downside, you lose much of the work that has been done on SOAP header specifications (WS-* like WS-Security, WS-ReliableMessaging, WS-AtomicTransactions for example). Also, SOAP is transport neutral whereas REST presupposes HTTP.
Nice MSDN reference at: http://msdn.microsoft.com/en-us/library/dd203052.aspx[^]
看看 ^ ]
这篇关于什么是REST完整WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文