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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
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
 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 ?    3 Yes 0 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 ?    3 Yes 0 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 ?    3 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 ?    1 Yes 0 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 ?    4 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 ?    4 Yes 0 No
Reha
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
we are working in .net namespaces like using system.io,system.text. these namespace before we use "using " keyword what means of using? Tech-Mahindra5
What?s a bubbled event? Visual-Soft5
What is CSS? What is the advantage os using CSS in ASP.NET Web Applications? PCS2
what is soap? Microsoft2
How Many types of Page Load functions in asp.net  2
about view state and how validation controls will be executed on client and server Wipro1
which one is faster execute reader, scalar, execute non query ? Minecode13
About DataAdapters ? Accenture5
How to merge 2 tables fields in DataTable in asp.net Wipro3
Differentiate between Server Transfer and Response Redirect? DELL2
how to update data set? TCS3
what is service contract,operation contract?  1
my name is sumeetha i am using google gears in .net.what's the problem is my server is in another place. i am working here when i entered the values in textboxes and press enter then it should store in database(sql server) which is in another system.when that sever system is shutdown then the values which i submit should store in my system and after system opened it should automatically store the values in the system can any one plz urgent suggest answer for this question?  1
I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do? Patni1
How to use one project files into another project? HP2
Explain which is best suited place in the Application Start and Session_Start subroutines with an example?  3
Can two web application share a session and application variable ? Satyam2
Which namespace in used to connction web cam  1
What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? /> Syntax-Softtech1
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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