The following is the procedure to host a web service in windows service. 1. Open Visual Studio 2005. 2. Create an ASP.NET Web service. a. File menu, choose New Web Site b. In the New Web Site dialogue box, select the ASP.NET Web Service. c. Enter the address of web server and click Ok.