WCF Directive Syntax

 

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.

@ServiceHost
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)

Hosting
Hosting in Internet Information Services
Hosting in Windows Process Activation Service

Show: