why we should use more than one web.config files in our
application? I have two web.config files in my application.
One in the root directory and another one inside a sub
folder. When the application runs which web.config file
will run? why?

Answer Posted / kuldeep chauhan

we can use more than one web.config file to meet the
different security and other configuration requirements of
different directories, and in any case web.config file of
subdirectory will take the precedence over file of root
directory.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is asp.net 64-bit enabled? How?

577


Is asp.net outdated?

524


What methods are fired during the page load? Init()

514


Which is better session or viewstate?

504


What are the benefits of view state?

542






What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

517


Define static member?

531


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

5675


How to do state management in ASP.NET?

595


Explain the updatepanel?

580


Who can consume WebAPI?

583


what is DLL Hell and how it is solved in .NET? please explain clearly??

1879


Why we use content place holder in asp.net?

496


If you are using components in your application, how can you handle exceptions raised in a component?

2073


Is post back in asp.net?

515