About web.config file
What is the main use of having more than one web.config file in an application?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Sep 13, 2011, 6:10 AM
We are using Web.Config Files to Save our Default Settings and Information . So, Using this We Can Able to Reset our Application to Default one at a any time.
You can also Change the Settings in Web.Config file while you running your application. you don't need to Stop your Application Execution.
We using more then one Web.config files in our same project to meet the different security and other configuration requirements of different directories, and in any case web.config file of subdirectory will take the precedence over file of root directory.
-----------------------------------------------------------------------------------
If this post helps you, then mark as "Correct Answer"
Satish BhatPosted Sep 13, 2011, 2:22 AM
Configuration files (Web.config) in child directories can supply configuration information in addition to that inherited from parent directories, and the child directory configuration settings can override or modify settings defined in parent directories.
The root configuration file named machine.config located in the directory systemroot\Microsoft.NET\Framework\versionNumber\CONFIG\ provides ASP.NET configuration settings for the entire Web server.
Jiteendra SampathiraoPosted Sep 13, 2011, 1:39 AM
It helps us to have small and easily maintainable configuration files.