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 :
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:
Post a Comment