Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By : Mike Liu
Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By: Mike Liu

Overview of this book

Table of Contents (20 chapters)
WCF Multi-layer Services Development with Entity Framework Fourth Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Hosting the HelloWorld WCF Service
Index

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:

  1. 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.

  2. In the New...