Creating a new solution and project using the built-in WCF service template
To start with, we will first create a new solution for the layered service and then add a new WCF service project to this solution. This time we will use the built-in Visual Studio WCF template for the new project.
Creating the WCF service project
There are a few built-in WCF service templates within Visual Studio. In this section, we will use the service library template to create our WCF service project. If you are interested in other templates, you can try each one of them yourself and choose the appropriate one for your own developments.
Follow these steps to create the LayerNorthwind
solution and the project using the service library template:
- Start Visual Studio, go to FILE | New | Project…, and you will see the New Project dialog box. Don't open the
HelloWorld
solution (from the previous chapter) as from this point onwards, we will create a completely new solution and save it in a different location...