In which 3 levels we have a configuration file for an ASP.NET web application?
Interview question and answer by:
Tripati_tutu | Posted on: 11/4/2010 | Category:
ASP.NET Interview questions | Views: 942 | |
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
Found interesting? Add this to: