This website may use cookies. More info. That's Fine x
Welcome Login

Visual Studio: Creating a webservice (web service template)


Visual Studio 2010

.NET 4.0 doesn't have a WebService template, so you have to use .NET 3.5 or earlier version.

Steps:

1. File > New Project...

2. Change the Framework version to ".NET Framework 3.5".

3. Select the Language Visual C# (expand the node if not already), choose Web and the select "ASP .NET Web Service Application"

 

You will see a WebService code template:

vs-webservice1


Created on: Friday, January 18, 2013 by Andrew Sin