Export (0) Print
Expand All
11 out of 19 rated this helpful - Rate this topic

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.

NoteNote:

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.

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.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.