What is the difference between an asp.net web method and a wcf service?

前端 未结 9 1108
太阳男子
太阳男子 2020-11-30 19:29

I\'m new to .Net and do not understand the difference. Can someone point me in the right direction?

9条回答
  •  被撕碎了的回忆
    2020-11-30 19:55

    In addition to the above responses, WCF was created to replace .NET Remoting in .NET 3.0 and beyond. In addition to SOAP, REST, POX, etc. web services in various formats (e.g. XML and JSON), WCF also offers MSMQ and Named Pipes. ASMX, as mentioned above, provides only SOAP-based XML web services.

    You would need to delve into .NET Remoting for other types of communication protocols. For additional information, you should check out Pro C# 2008 and the .NET 3.5 Framework. It's a great resource, and you can get the chapters from the previous books that cover .NET Remoting, and other replaced features.

提交回复
热议问题