What is web.config and machine.config ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session and cookies in asp.net?

548


What is redirectpermanent in asp.net?

608


What is form method?

491


How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.

1419


What is Forms Authentication in ASP.NET?

575






Define the types of configuration files.

530


Explain what does mvc represent in asp.net? : asp.net mvc

497


Where can I get information on cookies in asp.net?

561


How to improve performance of web application asp.net mvc? : Asp.Net MVC

487


How can we identify that the page is post back in asp net?

507


What is the difference between client-side and server-side validations in ASP.NET?

656


What is application session?

502


Explain the difference between globalization and localization techniques

528


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

591


Why Unload event of MasterPage Calls first in ASP.net ?

583