ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Propriedade

Definição

Obtém ou define um valor booliano que especifica se ASP.NET modo de compatibilidade foi habilitado para o aplicativo atual.

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

Valor da propriedade

true se ASP.NET modo de compatibilidade tiver sido habilitado para o aplicativo atual; caso contrário, false. O padrão é false.

Atributos

Comentários

Quando essa propriedade é definida como true, as solicitações para Windows Communication Foundation serviços (WCF) fluem por meio do pipeline HTTP ASP.NET e a comunicação por protocolos não HTTP é proibida.

Aplica-se a