Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

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.

In This Section

@ServiceHost

Defines page-specific attributes used by the .svc compiler. Can be included only in .svc files.

Related Sections

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)

See Also

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.