Create a asmx web service in C# using visual studio 2013

前端 未结 4 1623
甜味超标
甜味超标 2020-12-23 14:00

Hy,

how can I create a asmx web service in Visual Studio 2013?

I have found this short tutorial about that, but when I follow this in Visual

4条回答
  •  自闭症患者
    2020-12-23 14:25

    Short answer: Don't do it.

    Longer answer: Use WCF. It's here to replace Asmx.

    see this answer for example, or the first comment on this one.

    John Saunders: ASMX is a legacy technology, and should not be used for new development. WCF or ASP.NET Web API should be used for all new development of web service clients and servers. One hint: Microsoft has retired the ASMX Forum on MSDN.


    As for comment ... well, if you have to, you have to. I'll leave you in the competent hands of the other answers then. (Even though it's funny it has issues, and if it does, why are you doing it in VS2013 to begin with ?)

提交回复
热议问题