In which 3 levels we have a configuration file for an ASP.NET web application?

 Posted by Tripati_tutu on 11/4/2010 | Category: ASP.NET Interview questions | Views: 2019 | Points: 40
Answer:

Web server level: At this level the Machine.config file is located in Windows\Microsoft.NET\Framework\version\config directory. This helps to set the base configuration for all .NET assemblies that is running on the server.

Application or Web site level: At this level the Web.config file located in the IIS root directory. It helps to set the base configuration for all Web applications and overrides the settings that are in Machine.config file.

In the sub directory of an application root folder: This override the settings in the root folders of web.config file.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response