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 are the differnt types of handler in ASP.NET?
What is the difference between executescalar and executenonquery?
What is an assembly? Explain its parts.
Which is better php or asp.net?
Explain the difference between inline and code behind - which is best in?
Whats the difference between abstract factory pattern and factory pattern?
What does asp stand for in asp.net?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
What is new asp.net core?
Explain transparent caching with aop?
Explain Life cycle of ASP.NET page when a request is made.
How does session id work?
What is an axd file?
How many ways are there to maintain a state in .net? What is view state?
IN an ASP.NET Web application if there is any error, how can you debug?