4. Now we will host this service in a console application. Create a new console application project. Add a reference to a WCF service application project and also add reference to a System.serviceModel in the console application project.

5. Right click on the console project and add app.config file to console project. Write the configuration below in App.Config.