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
Explain the role of global.asax?
Which adapter should you use, if you want to get the data from an access database?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
How do I create a web form?
What is the basic difference between asp and asp.net?
Explain the difference between inline and code behind - which is best in?
Explain what the contents of cookie?
What is Pre-Render event in ASP.NET?
What are strong names?
Where do the cookie state and session state information be stored?
Explain Areas in MVC?
Can I combine classic asp and asp.net pages?
What are Authentication and Authorization?
if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.
Define a web service in .net?