For more information about configuring security, see Security.įor the source copy of this example, see IIS Hosting Using Inline Code. You can use IIS hosting only with an HTTP transport.įor more information about how WCF and ASP.NET interact, see WCF Services and ASP.NET. 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.
A WCF service that runs in the IIS environment takes full advantage of IIS features, such as process recycling, idle shutdown, process health monitoring, and message-based activation. For more information about IIS see Internet Information Services. This topic assumes you are familiar with IIS and understand how to use the IIS management tool to create and manage IIS applications. This topic outlines the basic steps required to create a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS).