There are two types of configuration files supported by ASP.Net. Configuration files are used to control and manage the behavior of a web application.
- Machine.config
- Web.config
Difference between Machine.Config and Web.Config
Machine.Config
- This is automatically installed when you install Visual Studio. Net.
- This is also called machine level configuration file.
- Only one machine.config file exists on a server.
- This file is at the highest level in the configuration hierarchy.
Web.Config
- This is automatically created when you create an ASP.Net web application project.
- This is also called application level configuration file.
- This file inherits setting from the machine.config