Template comparison:
The new template for WCF Service when generating a new web site in VS 2008 has not changed much. The main difference is the naming convention of project files generated, the separation of service contract and service type files, and the sample service contract and service type code is slightly different.
Impact to Learning WCF labs:
Anywhere I ask you to create a new web site using the WCF Service, you should continue to do so. The difference will be in the file location where the service contract and service type is located.
Summary of WCF Service web sites in VS 2008:
When you want to host a WCF service in IIS you will turn to the web site templates for WCF. In VS 2008, the same web site template exists for WCF services - the WCF Service template. The following dialog shows creating a file-based web site using this template:
I recommend using this template in the following scenarios:
You can also create web sites in IIS selecting this template:
The end result is the same as you expect with Orcas extensions in VS 2005. The project includes a .svc endpoint with a sample service contract and service in the App_Code directory. The main difference is that now the contract and service are separated into different files (IService.cs and Service.cs):
Subscribe to dasBlonde RSS feed updates: Powered by FeedBurner
Designed by NUKEATION STUDIOS