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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for