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
What is difference between abstract class and an interface?
Is it possible to apply themes to an asp.net application? If yes, then how?
How does session state work in asp.net?
Is it true that a Web service must be written in .NET or not?
what cut off mark for po's,what questions they asked for interview?
What is the syntax for datagrid and specifying columns?
How to display Alert in ASP.NET
Explain about asp.net 2.0 themes?
What is the base class from which web forms are inherited?
How can we create pie chart in asp.net?
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
What is session in http request?
In asp.net, how can you validate drop down box?
What is the adavantage of using ASP.NET routing?
How to unit test Web API?