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

How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.

1420


Is data edited in the Repeater control?

583


What is event in asp.net?

530


What is a page life cycle? What are the events in a page life cycle?

487


A web service can only be written in .net? State whether true or false.

534






Explain the boxing and unboxing concept in .net?

380


Is asp.net different from asp? If yes, explain how?

494


How to add DateTime Control in normal DataGrid Server Control?

580


Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.

2591


What is application state?

511


Is it true that a Web service must be written in .NET or not?

575


explain code with datachaching with example

1696


What is the extension of master page in asp.net?

543


Differentiate between early binding and late binding.

569


Where are session variables stored?

505