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 what is viewstate?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
How long should a session id be?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
What is different in .net 1.1 and .net 2.0?
Explain the code Access Security (CAS) in .net Framework?
What is _viewstart?
How does the cookies work in asp.net?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is a viewstate?
What is autopostback in dropdownlist in asp net?
How to disable validator control by client side JavaScript?
How can we create custom controls in asp net?
What is difference between viewstate and session state in javascript?
Differentiate between client-side and server-side validations in web pages.