开发者

Can a ASP.NET web service support other protocols except Http?

I am reading on internet about the difference between ASP.NET web service and WCF and have found that ASP.NET does not 开发者_Go百科support any other protocol except http . Can anyone please explain me the reason why ASP.NET web service don't support other transport protocols ?


It supports SOAP and other over-HTTP protocols. It is a design limitation, rectified with WCF.


ASMX web services are the original web service platform created as part of .NET 1.0. They are quite old, and the architecture is inflexible. In particular, they use the ASP.NET pipeline, which is focused on HTTP, not on multiple protocols.

They were replaced by WCF, which does not have these problems.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜