Specifies settings used by the Windows Communication Foundation (WCF) directives in the .svc files to direct the compilers. Each directive can contain one or more attributes (paired with values) that are specific to that directive. WCF has only the @ServiceHost directive.
In This Section
Defines page-specific attributes used by the .svc compiler. Can be included only in .svc files.
How to: Host a WCF Service in IIS
Describes how the @ServiceHost directive is used when hosting a service in Internet Information Services (IIS)
How to: Host a WCF Service in WAS
Describes how the @ServiceHost directive is used when hosting a service in Windows Process Activation Service (WAS)