Hi
What is different between Web.Config and Machine.Config ?
Loading
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.
SenthilkumarPosted May 23, 2012, 2:58 AM
A machine will have only one configuration file and all the application can share the same machine file across the multiple application in the machine.
It acts like global configuration file.
The web configuration file associates with the each application and a application can have the multiple web.config file.
The entries in the machine config can be overridden in web.config file.
Satyapriya NayakPosted May 22, 2012, 9:28 PM
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.
Thanks