What is web.config and machine.config ?

Answers were Sorted based on User's Feedback



What is web.config and machine.config ?..

Answer / dhananjay nazare

web.Config: Web.Config file is maintained within a
particular Web application and the Configuration setting
specified within web.config file is applicable to that
application only.

Machin.Config: Machin.Config file is maintained within .Net
framework derectories and configuration setting within
Machin.Config file affects all the managed application
deployed on that machin

Is This Answer Correct ?    56 Yes 5 No

What is web.config and machine.config ?..

Answer / naren

1. web.config and machine.config both are the configuration
files
2. web.config files contains settings specific to a web
application, machine.config file contains settings to
computer.
3. configuration system first searches settings in the
machine.config file next look at web.config file
4. web.config file exists within the web application,
machine.config file exists in the
c:\windows\microsoft.net\framework\version\config file
5. if we remove web.config file it does not contains any
connection string settings the web application will run, if
we remove machine.config file no one windows and web
application will run.

Is This Answer Correct ?    55 Yes 5 No

What is web.config and machine.config ?..

Answer / prakash j

web.config apply settings to each web application.
machine.config apply settings to all asp.net web application

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

how to debug web services on consumer side?

0 Answers   HCL,


What is the difference between Debug.Write and Trace.Write? When should each be used?

2 Answers   Infosys,


What r the asp.net list controls and diff. Between them?

0 Answers  


Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version

2 Answers   Citrix, TCS,


What is the difference between a Stored procedure and function?

9 Answers  


How many modelpopup extender we frequire when we want more than one model popup on same page ?

3 Answers   TCS,


Types of session management in ASP.NET?

1 Answers   Microsoft,


Does JITting occur per-assembly or per-method? How does this affect the working set?

1 Answers  


How to bind all the binding controls in a page at once in ASP.NET?

0 Answers   Viscus Infotech,


On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object

4 Answers   Syntax Softtech,


What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?

1 Answers  


What data types do the RangeValidator control support?

2 Answers  


Categories