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

What are Authentication mechanisms in .Net?

6 Answers   Accenture,


How do you do client-side validation in .net? How to disable validator control by client side javascript?

0 Answers  


What base class do all Web Forms inherit from?

1 Answers  


Explain how do you validate the controls in an asp .net page?

0 Answers  


How are sessions stored?

0 Answers  


What is runat?

0 Answers  


What is difference Between Authentication and authorization?

0 Answers   MCN Solutions,


How to create events for a control?

0 Answers  


Write a standard lock() plus double check to create a critical section around a variable access?

1 Answers  


Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications

2 Answers   Techno Solutions,


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

0 Answers  


How do cookies work?

0 Answers  


Categories