Back to Top
The nuts and bolts for
Creative web development

Understanding Web.Config in ASP.NET 1.x

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.

Kevin Koch

Kevin KochKevin Koch is a senior software engineer with over 8 years experience designing and architecting primarily web based applications. Fresh out of college during the nineties he co-founded Task Solutions and developed several projects with the then popular classic ASP.

During the Dot Com boom Kevin left his position as president and joined a new venture to build an enterprise insurance claim system build upon J2EE technology. After the Dot Com crash Kevin schooled himself to become an expert with .NET technology and is currently freelancing his ASP.NET skills to build enterprise n-tier frameworks using advanced OO methodologies.

See All Postings From Kevin Koch >>

Share this Article