ProcessModelSection.AutoConfig Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈