What is the Difference between Web.config and Machine.config?

 Posted by Neeks on 3/22/2009 | Category: .NET Framework Interview questions | Views: 5662

Web.config => For particular application in IIS.
Machine.config = > For All the applications in IIS
Web.config => Created when you create an application
Machine.config => Create when you install Visual Studio
Known as:
Web.config => is known as Application Level configuration file
Machine.config => is known as Machine level configuration file
Web.config => In your application Directory
Machine.config => …\Microsoft.NET\Framework\(Version)\ CONFIG

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response