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 the difference between ASP Session State and ASP.Net Session State?
Does web services support data reader like pom project?
Explain server-side scripting and client-side scripting.
Explain exception handling in .net.
Give 2 examples for scenarios when routing is not applied?
Explain the components of web form in asp.net
Fetch one page value to another page without using state-managment ?
What is the significance of proxy user?
What do you mean by authorization?
How do we sort the data from a dataset?
What are the Types of objects in ASP
What is DataGrid wheater its a Server Control or something else ?
Explain what is viewstate?
What is the difference between session and viewstate in asp.net?
Does asp.net still recognize the global.asa file?