Where’s the ASP.Net WebService in Visual Studio 2010?

This puzzled me too. There’s another puzzle to be had when you try and add a reference to an ASP.NET Web Service too, but I’ll let you have fun with that one.

Change the target framework version in the dropdown list to .NET framework 2 and choose Web on the left hand side when creating a new project and it will appear.


Actually, I’m not going to be mean. If you are going to reference the web service from an application built using.NET 3.0 or higher:

  1. Go to Add Service Reference
  2. Go to Advanced
  3. Click Add Web Reference at the bottom of the dialog.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)