What is web.config and machine.config ?



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

Answer / alb.shah

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 ?    12 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Do I need to have the latest version of windows media player installed?

0 Answers  


What is the extension of master page in asp.net?

0 Answers  


What is the main difference between grid layout and flow layout?

1 Answers  


Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?

2 Answers   Siebel,


What are resource file and how do we generate resource file?

0 Answers  






Explain the asp.net mvc request life cycle? : asp.net mvc

0 Answers  


How do we ensure view state has not tampered?

0 Answers  


Describe a Windows Service and its lifecycle ?

0 Answers   Siebel,


What is the use of session?

0 Answers  


What is client side state management?

0 Answers  


what is shared assembly?

2 Answers   Microsoft,


What is Fragment Caching in ASP.NET?

2 Answers   MCN Solutions, pspl, Wipro,


Categories