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

Answer Posted / mansi

Two types of configuration files supported by ASP.Net.
Configuration files are used to control and manage the behavior of a web application.

i) Machine.config
ii)Web.config

Difference between Machine.Config and Web.Config
Machine.Config:
i) This is automatically installed when you install Visual Studio. Net.
ii) This is also called machine level configuration file.
iii)Only one machine.config file exists on a server.
iv) This file is at the highest level in the configuration hierarchy.

Web.Config:
i) This is automatically created when you create an ASP.Net web application project.
ii) This is also called application level configuration file.
iii)This file inherits setting from the machine.config

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between datalist and gridview?

807


What is the difference between union and structure?

743


What are the Types of state management techniques

792


Which is better union or union all?

813


Differences between “dataset” and “datareader”.

780


Which dll handles the request of .aspx page?

770


Name the namespace which is used by ado.net?

750


Can I tap into other windows livetm services?

770


What do you mean by View State and what is its role?

767


Explain a program using code nuggets to create a simple application? : asp.net mvc

778


What is considered a service provider?

745


To redirect the user to another page which method do we use without performing a round trip to the client?

745


How many types of cache are there?

739


Is asp.net a programming language?

761


What is is post back property in asp net?

757