Export (0) Print
Expand All

ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Property

Gets or sets a Boolean value that specifies whether ASP.NET compatibility mode has been enabled for the current application.

Namespace: System.ServiceModel.Configuration
Assembly: System.ServiceModel (in system.servicemodel.dll)

public bool AspNetCompatibilityEnabled { get; set; }
/** @property */
public boolean get_AspNetCompatibilityEnabled ()

/** @property */
public void set_AspNetCompatibilityEnabled (boolean value)

public function get AspNetCompatibilityEnabled () : boolean

public function set AspNetCompatibilityEnabled (value : boolean)

Not applicable.

Property Value

true if ASP.NET compatibility mode has been enabled for the current application; otherwise, false. The default is false.

When this property is set to true, requests to Windows Communication Foundation (WCF) services flow through the ASP.NET HTTP pipeline and communication over non-HTTP protocols is prohibited.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft