This documentation is archived and is not being maintained.

ProcessModelSection::AutoConfig Property

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(L"autoConfig", DefaultValue = false)]
public:
property bool AutoConfig {
	bool get ();
	void set (bool value);
}

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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: