什么是WCF服务和Web服务之间的区别?

编程入门 行业动态 更新时间:2024-10-27 13:23:18
本文介绍了什么是WCF服务和Web服务之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

可能重复:结果   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服务之间的区别?

本文发布于:2023-10-07 17:48:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1470080.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:区别   WCF   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!