Understanding Web.Config in ASP.NET 1.x
With every ASP.NET application there is a root Web.Config file which resides in the website root directory and controls many complex aspects of your application. One of the troubles with this configuration file is that it covers many areas and has many options and parameters which are difficult to remember and sometimes confusing to understand the impact they will have on your application.
Part of the reason for lack of understanding is the fact that a default Web.config file is provided with a newly created ASP.NET application. Most of the time you can simply leave it alone and your application will run just fine. However it’s still important to understand what each entry in the default Web.config file means and even more important to know how to customize it to suit your needs.
The purpose of this tutorial is to serve as a quick reference for the options available in the Web.config file, and also to inspect some of the more commonly used configuration elements, thus creating a greater understanding of the flexibility available.
No tools or software are required for this tutorial, however it is recommended you have access to Visual Studio .NET 2002/2003 in order to test out the various settings that will be reviewed.