Pages

07 June 2011

1.3.0) Web Configuration files(.config)

The configuration files allow management of settings to a site. These files are XML with .config as extension. Elements such as settings,database connection string, caching settings etc are included in this file.
A website may have more than one configuration files.

The configuration files are applied to site based on hierarchy. There is  a global configuration file on a given machine for all the sites called Machine.Config(%SystemRoot%\Microsoft.NET\Framework\<versionNumber>\CONFIG\directory)

The Machine.config file contains settings for .NET application types. Some settings may be overridden by Web.config.
The config file hierarchy :




0 comments: