This project is read-only.

Use IIS to Host Your WCF Service Wherever Possible

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

Use IIS to host your WCF service because it provides a large number of features for efficient service management and scalability. IIS 6.0 only supports bindings over http so if you need to use TCP, MSMQ or named pipes you should host in a Windows service instead. IIS 7.0 supports all the commonly used transport protocols such as HTTP, TCP, MSMQ, and named pipes. 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.

The following are the steps to follow when you want to develop and deploy a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS):
  1. Ensure that IIS, WCF, and the WCF activation component are correctly installed and registered.
  2. Create a new IIS application, or reuse an existing ASP.NET application.
  3. Create a .svc file for the WCF service.
  4. Deploy the service implementation to the IIS application.
  5. Configure the WCF service.

Additional Resources

Last edited Jun 13, 2008 at 12:40 AM by prashantbansode, version 1


No comments yet.