|
Template comparison: - VS 2005 + Orcas extensions: WCF Service (new item)
- VS 2008: WCF Service (new item)
The new template 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 add a new WCF Service to a project you should continue with the same instructions. The difference will be in the files generated. - When I ask you to modify the names of the service file I usually have you use the service name, for example, HelloIndigoService.cs. Now, you will rename the service contract source file to use an "I" prefix (for example, IHelloIndigoService.cs) and rename the service type source file to my original recommendation (for example, HelloIndigoService.cs).
- When I ask you to modify code for the service contract or service type, you can modify them in their respective source files. There is no need to merge the two into one file.
Summary of WCF Service new item template in VS 2008: In any project, you can add a new WCF Service item to the project as shown here: This adds a new service contract and service type to the project, in separate files. Technorati Tags: WCF, VS 2008
|