Using IIS as host

Hi

Is there is any reason to use IIS to host WCF applications



Answer this question

Using IIS as host

  • danroot

    Internet Information Services (IIS)

    The IIS hosting option is integrated with ASP.NET and takes advantage of features offered by these technologies, such as process recycling, idle shutdown, process health monitoring, and message based activation. On today’s Windows XP and Windows Server 2003 operating systems, this is the preferred solution for hosting Web service applications that must be highly available and highly scalable. IIS also offers the integrated manageability that customers expect from an enterprise-class server product. This hosting option requires that IIS be properly configured, but it does not require that any hosting code be written as part of the application. For details on how to configure IIS hosting for a WCF service, see How To: Host a WCF Service in IIS.

    Note that IIS-hosted services can only use the HTTP transport. Its implementation in IIS 5.1 has introduced some limitations in Windows XP. The message-based activation provided for an WCF service by IIS 5.1 on Windows XP blocks any other self-hosted WCF service on the same box from using port 80 to communicate. WCF services can run in the same AppDomain/Application Pool/Worker Process as other applications when hosted by IIS 6.0 on Windows Server 2003. But because WCF and IIS 6.0 both use the kernel-mode HTTP stack (HTTP.sys), IIS 6.0 can share port 80 with other self-hosted WCF services running on the same machine.

    MORE INFO:

    http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/WCF_Con/html/192be927-6be2-4fda-98f0-e513c4881acc.asp

    -Thank you

    Madhu



  • Using IIS as host