What was the difference between machine.config and
web.config files

Answer Posted / saransony

Configuration files are used to control and manage the
behavior of a web application.
Machine.config
Web.config
Difference between Machine.Config and Web.Config?
Machine.Config:
This is automatically installed when you install Visual
Studio. Net.
This is also called machine level configuration file.
Only one machine.config file exists on a server.
This file is at the highest level in the configuration
hierarchy.
Web.Config:
This is automatically created when you create an ASP.Net
web application project.
This is also called application level configuration file.
This file inherits setting from the machine.config
Links- http://www.go4expert.com/forums/showthread.php?
t=6704
http://forums.asp.net/t/1117776.aspx

Is This Answer Correct ?    36 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which control has default post back is enabled(true)?

788


Explain asp.net application life cycle?

725


What is custom attribute? How to create?

738


Can we handle the error and redirect to some pages using web.config?

1223


What is preprocessor in .net? Where it use?

698






How you will improve web application performance?

714


What is state management technique?

722


How we can force all the validation controls to run?

713


What are the different types of validation controls in asp.net?

726


What is redirectpermanent in asp.net?

798


Explain some of the major built-in objects in asp.net

778


What is ashx file in asp.net?

729


Can asp.net work on an nt server?

721


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

710


What is sql data source control in asp.net?

758