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

Explain the steps needed to be performed in order to create an animation in xaml?

560


a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

1599


Explain about asp.net 2.0 themes?

559


What is HTTPModule and HTTPcontext? What is the use of each?

1995


What are the security types in asp.net?

583






What is difference between Fragment Caching and Page Caching in ASP.NET?

581


What is recordset asp?

548


explain code with datachaching with example

1700


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

604


Why do we use asp.net?

589


What is paging in context of Memory?

657


What's the ASP.Net Application life cycle?

566


Define web.config in .net?

639


What is postback request?

554


What is the difference between cookie and session?

504