ASP.NET Configuration Settings
ASP.NET configuration files are XML files. The .NET Framework defines a set of elements that implement configuration settings, and the ASP.NET configuration schema contains elements that control how ASP.NET Web applications behave.
Default configuration settings are specified in the Machine.config file located in the %SystemRoot%\Microsoft.NET\Framework\versionNumber\CONFIG\ directory. Values are inherited by child sites and applications. If there is a configuration file in a child site or application, the inherited values do not appear, but can be overridden and are available to the configuration API.
This section describes the ASP.NET configuration schema elements that can be configured in the Machine.config file and in application-specific Web.config files. The table of contents for this section reflects the schema hierarchy.
Note
ASP.NET configuration applies only to ASP.NET resources. Use the configuration features of Internet Information Services (IIS) to configure non-ASP.NET resources. For information, see Working with the Metabase (IIS 6.0) and the IIS Metabase Property Reference.
In This Section
system.web Element (ASP.NET Settings Schema)
Specifies the root element for the ASP.NET configuration section, and contains elements that configure ASP.NET Web applications and control their behavior.system.web.extensions Element (ASP.NET Settings Schema)
Specifies the root element for the ASP.NET extensions configuration section, and contains elements that configure ASP.NET services and control their behavior.
Reference
System.Configuration
Contains the types that provide the programming model for handling configuration data.System.Web.Configuration
Contains the types that are used for ASP.NET configuration.
See Also
Tasks
How to: Access ASP.NET Configuration Settings Programmatically
Concepts
ASP.NET Configuration Overview
Securing ASP.NET Configuration
Editing ASP.NET Configuration Files
ASP.NET Configuration Scenarios
Other Resources
General Configuration Settings (ASP.NET)