GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 99 of 164    Print  
What is the difference between mechine.config and web.config?

  
Total Answers and Comments: 5 Last Update: June 02, 2008     Asked by: sivalal 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 20, 2006 07:56:25   #1  
ani        

RE: What is the difference between mechine.config and ...
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.
 
Is this answer useful? Yes | No
December 20, 2006 10:28:23   #2  
rayhan        

RE: What is the difference between mechine.config and ...

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


 
Is this answer useful? Yes | No
January 31, 2007 16:51:26   #3  
mepoo Member Since: January 2007   Contribution: 5    

RE: What is the difference between mechine.config and ...
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.
 
Is this answer useful? Yes | No
February 10, 2007 01:22:03   #4  
riteshop_modi Member Since: February 2007   Contribution: 4    

RE: What is the difference between mechine.config and ...
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
 
Is this answer useful? Yes | No
June 02, 2008 03:45:06   #5  
tarunrawat4u Member Since: June 2008   Contribution: 2    

RE: What is the difference between mechine.config and web.config?
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.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape