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

Answer Posted / sanjay maurya

What are the two types of configuration files supported by
ASP.Net?
Configuration files are used to control and manage the
behavior of a web application.
? Machine.config
? Web.config
Difference between Machine.Config and Web.Config?
Machine.Config:
? This is automatically installed when you install Visual
Studio. Net.
? This is also called machine level configuration file.
? Only one machine.config file exists on a server.
? This file is at the highest level in the configuration
hierarchy.
Web.Config:
? This is automatically created when you create an ASP.Net
web application project.
? This is also called application level configuration file.
? This file inherits setting from the machine.config

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain security types in asp.net?

519


What are cookies in asp.net?

551


What is route in web api?

505


What are type/key pairs in client script registration?

538


What parameters can you pass in the url of the api?

637






How would you turn off cookies on one page of your website?

517


What is parse in asp.net?

529


What is the difference between Classic ASP and ASP.Net?

502


Who generates session id?

464


Which method is used to enforce garbage collection in .net?

405


Should I delete cookies?

464


Explain what is event bubbling?

552


Can action method static?

506


How can you ensure a permanent cookie?

529


What are the difference between function and stored procedure in .net programming language?

224