Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Web Service template not exist?

I have a full installation of Visual Studio 2010 with .Net framework 4. I want create my first web service. but not exist web service template.
In visual studio 2010 I go to File -> New Web Site menu , but in the New Web Site dialog box not exist ASP.NET Web Service template.

enter image description here

How to create a Web Service?

like image 232
Samiey Mehdi Avatar asked Sep 26 '13 08:09

Samiey Mehdi


1 Answers

Use File->New Project->WCF Service Application.

"ASP.NET Web Services" (aka ASMX) is a legacy technology. It exists only to support existing ASMX services. Do not use it for new development.

like image 154
John Saunders Avatar answered Oct 04 '22 18:10

John Saunders