Share via

General Configuration Settings (ASP.NET)

The topics in this section describe general configuration schema elements that are useful when working with ASP.NET applications.


The elements in this section do not necessarily apply only to ASP.NET applications; they can also apply to .NET Framework applications. For more information, see Configuration File Schema for the .NET Framework.

Default values for these elements are set in the Machine.config file located in the %SystemRoot%\Microsoft.NET\Framework\versionNumber\CONFIG\ folder. Values are inherited by child sites and applications. If there is a Web.config file in a child site or application, the inherited values do not appear, but can be overridden and are available to the configuration API.


XML tags and attributes are case-sensitive.

In This Section

See Also


How to: Access ASP.NET Configuration Settings Programmatically


connectionStrings Element (ASP.NET Settings Schema)

system.web Element (ASP.NET Settings Schema)

configSections Element (General Settings Schema)

appSettings Element (General Settings Schema)

location Element (ASP.NET Settings Schema)




ASP.NET Configuration Overview

Securing ASP.NET Configuration

Editing ASP.NET Configuration Files

ASP.NET Configuration Scenarios

Other Resources

ASP.NET Configuration Settings

ASP.NET Configuration Settings

Configuration File Schema for the .NET Framework

ASP.NET Web Site Administration

ASP.NET Configuration API