Bearbeiten

Freigeben über


ProcessModelSection.AutoConfig Property

Definition

Gets or sets a value indicating whether ASP.NET performance settings are automatically configured for ASP.NET applications.

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

Property Value

true if performance settings are automatically configured for ASP.NET applications; otherwise, false. The default value is false.

Attributes

Remarks

If the AutoConfig value is set to false, explicit Web.config values are used to determine performance configuration for the ASP.NET application. If the AutoConfig value is set to true, the performance settings are automatically configured for the ASP.NET application.

The AutoConfig value is explicitly set to true in the Machine.config file. The default code value is set to false. If the AutoConfig value is removed from Machine.config, the explicit settings are used instead of the auto-configured settings.

Applies to

See also