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

how to write html code with ssl

1529


IN an ASP.NET Web application if there is any error, how can you debug?

590


What is the purpose of using MVC programming pattern in ASP.NET?

561


What is a viewstate?

570


Which two new properties are added in asp.net 4.0 page class?

529






How are sessions stored?

534


What are the steps involved to fill a dataset?

558


What do you mean by authentication?

528


What are the advantages of the code-behind feature?

546


What is break mode?

517


What is the file through which you can customize your asp.net application?

550


Mention few asp.net validators.

580


What is asp.net? How is it different from asp?

544


What does uri mean?

503


Where would you use an ihttpmodule, and what are the limitations of any?

556