Delen via


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

Reference

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)

ASP.NET Web Site Administration

ASP.NET Configuration API