What is the purpose of machine.config file in .NET?Machine.config file is a machine level configuration file that is installed automatically during Visual Studio .NET installation. Only one machine.config exists for a computer. Settings defined in this file apply to the entire machine. However you can define more specific application level settings in web.config file.
Your application will first access the settings in web.config file and if any specific setting is not available in web.config file then it will use the settings defined in machine.config file. Here is a sample structure of web.config file: <?xml
version="1.0" encoding="UTF-8"?> This is just a sample file. Many more tags are available in machine.config file. Related Article: Difference Between Web.Config and Machine.Config in ASP.Net
|