Hosting Web Service is not any different from hosting any web site. You just have to create the virtual directory and you are set to go. Since its a virtual directory under a web site, most porbably Default Website, the port will be same as the web sites,
most probably 80
I wrote a basic tutorial in my blog for just this purpose using Visual Studio 2010 and IIS 7.5. For my testing purposes however, I do not like using the Default Web Site set up within IIS and instead created a new web site to test the service. Here is the
link, I hope it helps:
Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
how to host a web service locally in iis
Jul 12, 2010 06:43 PM|LINK
This my scenerio
1. I have created a web service
2. I need to host it in IIS locally for testing purpose.
3. Can we set port locally or automatically port '80' is assigned.
Please Mark As Answer If my reply helped you.
Kumar Reddi
Star
14340 Points
2619 Posts
Re: how to host a web service locally in iis
Jul 12, 2010 07:00 PM|LINK
Hosting Web Service is not any different from hosting any web site. You just have to create the virtual directory and you are set to go. Since its a virtual directory under a web site, most porbably Default Website, the port will be same as the web sites, most probably 80
DBelcher
Member
2 Points
1 Post
Re: how to host a web service locally in iis
May 27, 2012 09:00 PM|LINK
I wrote a basic tutorial in my blog for just this purpose using Visual Studio 2010 and IIS 7.5. For my testing purposes however, I do not like using the Default Web Site set up within IIS and instead created a new web site to test the service. Here is the link, I hope it helps:
http://blog.nshadow.com/category/csharp-net-tutorials/