What is the difference between the Visual Studio Options: ASP.NET Web Service and WCF Service

前端 未结 3 1401
天涯浪人
天涯浪人 2021-01-03 06:12

I see that there are two options that I know can be used in web services... WCF obviously, and ASP.NET Web Services. What\'s the difference? I just started picking up WCF

3条回答
  •  不知归路
    2021-01-03 06:49

    ASP.NET web services was Microsoft's first attempt at web services.

    WCF replaces ASP.NET web servies and .NET remoting. WCF provides a common programming model that enables you to do what the two older technologies where capable of and much more including support for a wide range of protocols and security models.

    Go with WCF if you have the choice.

提交回复
热议问题