ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What was the difference between machine.config and 
web.config files
 Question Submitted By :: Siddarth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What was the difference between machine.config and web.config files
Answer
# 1
machine. config is configuration file for all the
application in the IIS.
web.config is a configuration file for a application or folder 

machine.config for machine level configuration.
web.config for a application/folder level configuration
 
Is This Answer Correct ?    14 Yes 1 No
Vijay
 
  Re: What was the difference between machine.config and web.config files
Answer
# 2
web.config files apply settings to each web application,

but

machine.congig file apply settings to all asp.net 
applications.
 
Is This Answer Correct ?    8 Yes 1 No
Ranjeet Kumar
 
 
 
  Re: What was the difference between machine.config and web.config files
Answer
# 3
web.config file for only use single web application but 
machine .config use whole application
 
Is This Answer Correct ?    6 Yes 0 No
Kinge
 
  Re: What was the difference between machine.config and web.config files
Answer
# 4
it supports configuration file section for all application 
in IIS -----> machine.config


contains security policy ----->web.config
 
Is This Answer Correct ?    3 Yes 1 No
Guest
 
  Re: What was the difference between machine.config and web.config files
Answer
# 5
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
 Links- http://www.go4expert.com/forums/showthread.php?
t=6704
http://forums.asp.net/t/1117776.aspx
 
Is This Answer Correct ?    9 Yes 0 No
Saransony
 
  Re: What was the difference between machine.config and web.config files
Answer
# 6
when you want to set some settings/properties common to all
the applications falling under same web server then go for
machine.config. If you want apply the settings individually
to each web application then go for web.config.
 
Is This Answer Correct ?    8 Yes 0 No
Reha
 
  Re: What was the difference between machine.config and web.config files
Answer
# 7
Web.config is scoped to a particular directory. we use it 
to ovverride the machine.config for a particular 
application or application folder.
 
Is This Answer Correct ?    3 Yes 0 No
Preetika Sharma
 
  Re: What was the difference between machine.config and web.config files
Answer
# 8
machine. config is configuration file for all the
application in the IIS.
web.config is a configuration file for a application or 
folder 

machine.config for machine level configuration.
web.config for a application/folder level configuration
 
Is This Answer Correct ?    0 Yes 0 No
Sanjay Bisht
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is viewstate? Microsoft3
What?s a bubbled event? Visual-Soft5
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?  1
One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part WebInfo1
7. Do you have reference list? Swatz-Oils1
What is the difference between and ActiveX dll and control? Microsoft2
if u r projet consist of 4 people means how can u manage the file Mind-Tree8
How to convert a string into an Integer in ASP.net?  6
What is stateless asp or asp.net ? Accenture2
Types of caching ? TCS3
Difference between Response.Expires and Expires.Absolute ? Accenture1
what is an Eventbubbling? DSS3
How to handle error while project running on live  2
What Are The Difference Between AutoEventWireup="true" and AutoEventWireup="False" Phoenix-Technologies9
can i use two web.config files of ConnectionString in One Default.aspx page Verinon-Technology-Solutions5
Have you used microsoft dataaccess blocks and Exception blocks? Microsoft1
Why do we use Option Explicit? Microsoft2
Explain current thinking around IClonable.  1
To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?  1
How to remove themes from certain controls?  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com