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


Please Help Members By Posting Answers For Below Questions

Explain parts of assembly?

751


How can I create master page in asp net?

715


What is web api and why to use it?

788


What is session state server?

880


What is Forms Authentication in ASP.NET?

809


How do you secure your connection string information?

736


Explain what is postback in asp. Net?

797


How can you implement the postback property of an asp.net control?

754


Explain difference betn dataset and recordset?

705


How do you implement sql caching in asp.net?

795


What are custom user controls in asp.net?

756


Explain the main function of razor in asp.net? : asp.net mvc

839


Explain the overview of asp.net?

790


About CLR, reflection and assemblies?

1740


What are the authentication types in asp.net?

811