Web服务和Windows通信基础(WCF)之间的区别 [英] difference between web services and windows communication foundation(WCF)

查看:283
本文介绍了Web服务和Windows通信基础(WCF)之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Web服务和Windows通信基础(WCF)之间的区别请回复我

difference between web services and windows communication foundation(WCF) please reply me

推荐答案

Web Services正在联网一个C / C ++ API。

WCF是.Net的网络框架(它超越了API)。



WCF拥有(来之不易)昵称Windows Complication Foundation有一个原因 - 设置应用程序端点有很多配置。
Web Services is networking an API for C/C++.
WCF is a network framework (it goes beyond an API) for .Net.

WCF has the (well-earned) nickname Windows Complication Foundation for a reason--there is a lot of configuration to set up application endpoints.


Web服务

1。它只能通过HTTP访问

2.它在无状态环境中工作



WCF

WCF非常灵活,因为它的服务可以托管在不同类型的应用程序中。下面列出了托管WCF服务的几种常见方案:

IIS

WAS

自托管

托管Windows服务



有一篇很好的文章来区分Web服务和WCF



WCF和Web服务之间有什么区别? [< a href =http://www.codeproject.com/Articles/139787/What-s-the-Difference-between-WCF-and-Web-Servicestarget =_ blanktitle =New Window> ^ ]


Web服务仅处理基于http的协议.WCF是Web服务+更多协议,如tcp,nettcp,namedpipe binding / protocols。



WCF可用于Intranet / Internet客户端/服务器应用程序。 Web服务仅限于基于互联网的应用程序。
Web Services deals with http based protocols only.Where as WCF is Web Services + more protocols like tcp, nettcp, namedpipe binding/protocols.

WCF can be used for intranet/internet client/server applications. where as Web Services is limited to internet web based applications.


这篇关于Web服务和Windows通信基础(WCF)之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆