可能重复:结果 Web服务VS WCF服务
复制:
Web服务VS WCF服务
什么是WCF服务和互联网服务之间的区别?
What is the difference between WCF service and Webservice ?
推荐答案WCF是一个编程模型和API。WCF服务意味着正在使用的编程模型和API构建的应用程序。
WCF is a programming model and API. "WCF Service" implies an app that is built using that programming model and API.
Web服务是公开的HTTP(REST(XML或JSON),SOAP或以其他方式)接口的应用程序。
"Web Service" is an app that exposes an HTTP (REST (XML or JSON), SOAP or otherwise) interface.
您可以建立使用WCF Web服务,但你也可以使用其他API或堆栈构建一个Web服务。如PHP或Java,例如
You can build a Web service using WCF, but you can also build a Web service using other APIs or "stacks". Like PHP or Java, for example.
使用WCF,你可以建立Web服务,但你也可以建立一个都没有,Webbish的服务。例如,您可以建立一个接受过只有一个本地管道接口输入的二进制请求的服务。它仍然是一个服务,但它不是一个网络服务,是因为它不使用Web协议(通常HTTP和XML)。
With WCF you can build web services but you can also build services that are not, "Webbish". For example you can build a service that accepts incoming binary requests over only a local pipe interface. It is still a service, but it is not a "web service" because it is not using web protocols (generally HTTP and XML).
更多推荐
什么是WCF服务和Web服务之间的区别?
发布评论