Global and Local Configuration Files

Servers that run .NET Web applications will typically have multiple ASP.NET configuration files. One such file, known as the machinewide or global configuration file, is named Machine.Config; this file is created for you when you install the .NET framework. The exact location of this file depends on your machine configuration and the version of the .NET framework you're running, but it should be located in \Windows\Microsoft.NET\Framework\[version]\CONFIG. (Replace [version] with whichever version you're actually running.)

Additionally, any Web-accessible folder can optionally contain a Web.Config file that stores settings that are relevant to the ASP.NET scripts in that folder. These settings override the ...

Get C#® Developer's Guide to ASP.NET, XML, and ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.