WCF V.S.传统的ASP.Net Web服务 [英] WCF v.s. legacy ASP.Net Web Services
问题描述
可能重复:
Web服务和mdash; WCF与标准
任何人都可以推荐我一些文件,以说明为什么WCF是比传统的ASP.NET Web服务的更好?我在性能和安全性特别感兴趣。
Could anyone recommend me some documents to describe why WCF is better than legacy ASP.NET web services? I am especially interested in performance and security.
推荐答案
WCF是更灵活的:
- 可以在HTTP上使用(如传统的ASMX)
-
也:可以反复使用NetTCP,MSMQ,wsHttp等等
- can be used over HTTP (like legacy ASMX)
but also: can be used over NetTCP, MSMQ, wsHttp and so on
WCF服务可以在IIS托管(如传统的ASMX)
WCF services can be hosted in IIS (like legacy ASMX)
但WCF服务还可以自承载在一个控制台应用程序,Windows NT的服务,等等。
but WCF services can also be self-hosted in a console app, Windows NT Service, etc.
WCF提供了更多的安全功能和安全水平比ASMX(信息安全等。)
WCF offers a lot more security features and security levels than ASMX (message security etc.)
在WCF,几乎所有的东西是在配置文件中配置的 - 远远超过了与ASMX
In WCF, almost anything is configurable in a config file - much more so than with ASMX.
我没有任何现成的文件在手,描述这个 - 但是这真的是它的精髓,我想说
I don't have any ready-made documents at hand that describe this - but that's really the essence of it, I'd say.
马克·
PS:不知道这人会包含任何对您有用:
PS: Not sure if this one would contain anything useful for you:
的http://whitepapers.techrepublic.com/abstract.aspx?kw=remoting&docid=270830
PPS:你的认为的,微软将有这些白皮书堆说服人 - 但没有..... :-)
PPS: you would think that Microsoft would have heaps of these white papers to convince folks - but no..... :-)
这篇关于WCF V.S.传统的ASP.Net Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!