Total Page Preview:   000000006133

Difference between web.config and machine.config

In this article I am going to explain Difference between web.config and machine.config 

 


Difference between web.config and machine.config:


Web.config Machine.config
One or more then one web.config file exists on a server. Only one machine.config file exists on a server.
With out the Web.Config file Application can still be executed. With out the Machine.Config file Application can not be executed.
Web.config called application level configuration file. Machine.config called machine level configuration file.
Web.config automatically created when you create an ASP.Net web application project. Machine.config automatically installed when you install Visual Studio. Net.
This file inherits setting from the machine.config This file is at the highest level in the configuration hierarchy.
Machine .config will for the whole machine. Web.config file will be one particular application.
This file contains application level configuration so it can be called as application level configuration file. This file is automatically installed whenever .Net Framework is installed in the System.Only one file per the system.This file is located at C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG.

 

 

Thanks

Brijesh Kumar

Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com



Comments


                           
                           

                           

                           

Facebook User: