Hi
What is the use of web.config ? What is the difference between machine.config and web.config ?
Use of Web.config and Difference between Machine.config and Web.config
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 24, 2012, 8:13 AM EDT
Machine.config is one in a system and is the default configuration for all applications running on that machine. Web.config in every webapplication overrides the machine.config. Infact, a single web application can also have more than one web.config overriding each other in the increasing order of specificity. Each web.config must be of course at different levels/folders in a single application.
Please refer the below links
http://weblogs.asp.net/sahannet/archive/2008/02/13/asp-net-web-config-file.aspx
http://24x7aspnet.blogspot.in/2009/05/aspnet-webconfig-file.html
Thanks