This project is read-only.

How to Host WCF in IIS

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

Use IIS to host your WCF service, unless you need to use a transport that IIS does not support. IIS provides a large number of features for efficient service management and scalability. By using IIS as your WCF service host you can take full advantage of IIS features, such as process recycling, idle shutdown, process health monitoring, and message-based activation.

Http Bindings can be hosted in IIS 6.0 and IIS 7.0. You can host TCP and MSMQ bindings in IIS 7.0 or a Windows Service. You can also host in IIS 6.0, but you must first have to activate the host W3wp process, before using the service.

Use following steps to host your WCF service in IIS
  1. Create a virtual directory in IIS.
  2. Create a .svc file for WCF Service
  3. Deploy the WCF service implementation to the IIS virtual directory.
  4. Configure the WF Service.

Additional Resources

Last edited Jun 13, 2008 at 8:00 PM by prashantbansode, version 1


No comments yet.