What is web.config and machine.config ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
how to debug web services on consumer side?
What is the difference between Debug.Write and Trace.Write? When should each be used?
What r the asp.net list controls and diff. Between them?
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version
What is the difference between a Stored procedure and function?
How many modelpopup extender we frequire when we want more than one model popup on same page ?
Types of session management in ASP.NET?
Does JITting occur per-assembly or per-method? How does this affect the working set?
How to bind all the binding controls in a page at once in ASP.NET?
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
What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?
What data types do the RangeValidator control support?