Thursday, July 23, 2009

WCF Hosting

Windows Communication Foundation (WCF) Services can be hosted with Internet Information Services (IIS); with the new Windows Activation Service (WAS) installed with IIS 7.0; or with any managed application process including console, Windows Forms, Windows Presentation Foundation (WPF), or managed Windows service applications.

Selecting the right hosting environment for your services is a choice driven largely by deployment requirements related to transport protocol and operating platform.

A summary of hosting options and supported features:

FeatureSelf-HostingIIS HostingWAS Hosting
Executable Process/ App DomainYesYesYes
ConfigurationApp.configWeb.configWeb.config
ActivationManual at startupMessage-basedMessage-based
Idle-Time ManagementNoYesYes
Health MonitoringNoYesYes
Process RecyclingNoYesYes
Management ToolsNoYesYes



A summary of hosting options based on operating platform and communication protocol:

Operating PlatformProtocolHosting Options
Windows XP/SP2HTTPIIS 5.1 or self-host
Named Pipes, TCP, MSMQSelf-host
Windows VistaHTTP, Named Pipes, TCP, MSMQWAS or self-host
Windows Server 2003HTTPIIS 6.0
Named Pipes, TCP, MSMQSelf-host
Windows Longhorn ServerHTTP, Named Pipes, TCP, MSMQIIS 7.0/WAS or self-host





No comments:

Post a Comment