O'Reilly logo

A Programmer's Guide to .NET by Alexei Fedorov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.4. ASP applications configuration files

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:

WINNT\Microsoft.NET\Framework\v.<version>\Config 

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required