ProcessModelSection.AutoConfig Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("autoConfig", DefaultValue = false)]
public bool AutoConfig { get; set; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show: