|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Administering ASP.NET Web Sites
Using the features of the ASP.NET configuration system, you can configure an entire server, an ASP.NET application, or individual pages in application subdirectories. You can configure features such as authentication modes, page caching, compiler options, custom errors, debug and trace options, and much more.
The ASP.NET configuration system features an extensible infrastructure that enables you to define configuration settings in XML files that are easily deployed. These files, each named Web.config, can exist in multiple locations in an ASP.NET application. You can add or revise configuration settings at any time with minimal impact on operational Web applications and servers.
The features of the ASP.NET configuration system apply only to ASP.NET resources. For example, Forms Authentication only restricts access to ASP.NET files, not to static files or classic Active Server Pages (ASP) files unless those resources are mapped to ASP.NET extensions. Use the configuration features of Microsoft Internet Information Services (IIS) to configure non-ASP.NET resources. For more information, see Working with the Metabase (IIS 6.0) and IIS Metabase Properties.