What was the difference between machine.config and
web.config files

Answer Posted / kalyan ch sarkar

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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between session.abandon() vs clear()?

713


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

781


Differentiate globalization and localization.

767


What are the advantages of the code-behind feature?

708


How can you enable impersonation in the web.config file?

753






Explain how cookies work. Give an example of cookie abuse.

870


What is view state management in asp net?

652


What is cookies cache and session?

700


What is the difference between the response.write() and response.output.write() methods?

733


Elaborate differentiation between Cache and Application?

710


What is the flow of processing of the request? : asp.net mvc

718


What is ispostback method in asp.net? Why do we use that?

816


Explain Authentication mechanism in dotnet

781


What is mvc in angular?

725


Why do we need asp.net?

761