One of the new things in Visual Studio 2010 is WCF Service Application. Among other things, this is also replacement for “old” asmx type web services, which are now considered legacy.
But what if you do need to create one of these “legacy” services? If you go to create a new project, you won’t find Asp.Net Web Service Application on the list of available project templates.
To solve this problem, on the project template screen, change framework version from 4.0 to 3.5 – and Asp.Net Web Service Application will now appear on the list of project templates. Once you have created your project, you can go to project properties, and change the framework back to version 4.0. Do a project build to verify that everything compiles, and you are all done.