What is the difference between mechine.config and web.config?

Showing Answers 1 - 15 of 15 Answers

ani

  • Dec 20th, 2006
 

Every asp.net application has web.cofig file. the settings given in this file is implied to that particular application only.But the settings given in machine.config file is implied to whole system.

  Was this answer useful?  Yes

rayhan

  • Dec 20th, 2006
 

machine.config is a system level configuration i.e it is applied on all application in o/s that the configuration is set where as in web.config it is applicable to only one application i.e each asp.net web application will contain atleast on web.config file

  Was this answer useful?  Yes

mepoo

  • Jan 31st, 2007
 

Machine.Config : Used to Store Machine Level Configuration which applies to all .net applications on particular machine.Web.Config:USed for the single application configuration to which the web.config file belongs.

  Was this answer useful?  Yes

Basically Machine.config file content the configuration setting for a particullar machine and Web.config file is used to store configure a particular web application. On any system there will be only one Machine.config file but Web.config file can number of time as per web application

  Was this answer useful?  Yes

The MACHINE.config file contains default and machnine-specific values for all supported setting. Machine setting are normally controlled by the system admin, and app should never be given write access to it.An application can override most default values stored in the machine.config file by creating one or more web.config files.At min, an app creates a WEB config file in its root folder. The web.config file is a subset of machine.config written according to the same XML achema.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions