What is the difference between "Web.Config" and "Machine.Config" ?

 Posted by Bharathi Cherukuri on 2/28/2012 | Category: ASP.NET Interview questions | Views: 2354 | Points: 40
Answer:

"Web.Config" files apply changes to each web application.
"Machine.Config" files apply settings to all ASP.NET applications.

You can override settings in the Machine.Config file for all the applications in a particular Web site by placing a Web.Config file in the root directory of the Web site as follows:

\InetPub\wwwroot\Web.Config


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response