What is web.config and machine.config ?
Answer Posted / 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 |
Post New Answer View All Answers
What is a gridview in asp.net?
List the major built-in objects in asp.net?
How does session authentication work?
Why SessionID changes in every request in asp.net?
What is active web pages?
Define managed code and managed data in .net?
Difference between using directive vs using statement?
What is a uri query?
Explain page output caching?
Is razor a programming language?
When cookie will expire?
How to find last error which occurred?
What is meant by server side scripting?
Why does my asp.net file have multiple tag with runat=server?
Can a .net web application consume java web service?