ASP.NET uses several XML-based configuration files that we will cover in this section. The root configuration file is named machine.config and it provides ASP.NET configuration for the entire web server. This file can be found in the following directory:
The second configuration file is web.config, which contains configuration settings for the particular ASP.NET application. When a request for an ASPX page is made, the configuration files are compiled in the following way:
the web.config file in the current directory overrides the configuration sesstings stored in a web.config file in an application directory, which overrides settings at the website ...