Walkthrough on creating WCF 4.0 Service and Hosting in IIS 7.5 Objective This article will give step by step walkthrough How to create a basic WCF 4.0 Service? How to host WCF Service in IIS 7.5? Hot to test service in a client. Create WCF Service Create WCF service. Open visual studio select new project and then from WCF tab select WCF Service application to create a new WCF service. Delete the default code created by WCF from IService1 and Service1.svc.cs a. So delete the data contract b. Modify the service contract as below. Just make one operation contract to return a string . IService1.cs 01. using System; 02. using System.Collections.Generic; 03. using System.Linq; 04. using System.Runtime.Serialization; 05. using System.ServiceModel; 06. using System.ServiceModel.Web; 07. using System.Text; 08. namespace WcfService5 09. { 10. [ServiceContract] 11. public ...