.NET Framework 4
ASP.NET enables you to specify configuration settings that affect all Web applications on a server, that affect only a single application, that affect individual pages, or that affect individual folders in a Web application. You can make configuration settings for features such as compiler options, debugging, user authentication, error-message display, connection strings, and more.
Configuration data is stored in XML files that are named Web.config.
This topic describes the main configuration settings that you can make in the Web.config file. The topic contains the following sections: