Langue

ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Propriété

Définition

Obtient ou définit une valeur booléenne qui spécifie si ASP.NET mode de compatibilité a été activé pour l’application actuelle.

public:
 property bool AspNetCompatibilityEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("aspNetCompatibilityEnabled", DefaultValue=false)]
public bool AspNetCompatibilityEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("aspNetCompatibilityEnabled", DefaultValue=false)>]
member this.AspNetCompatibilityEnabled : bool with get, set
Public Property AspNetCompatibilityEnabled As Boolean

Valeur de propriété

true si ASP.NET mode de compatibilité a été activé pour l’application actuelle ; sinon, false. La valeur par défaut est false.

Attributs

Remarques

Lorsque cette propriété est définie sur true, les requêtes adressées aux services Windows Communication Foundation (WCF) transitent par le pipeline HTTP ASP.NET et la communication via les protocoles non HTTP est interdite.

S’applique à