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

Can you explain the importance of finalize method in .net?

806


What is work flow gen? how can it will work with .Net?

2757


Why viewstate is used in asp.net?

738


Is asp.net easy to learn?

730


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1620


What is intrinsic objects in asp.net?

869


What are the event handlers that we can have in global.asax file?

718


what are the ihttphandler and ihttphandlerfactory interfaces ?

720


Why should i prefer JSP over asp.net or any other web development language..??

1702


Explain how can we inherit a static variable?

767


Explain client-side scripting?

764


What is inheritance and an how it be used, example with an example?

808


Give a few examples of page life cycle events.

877


Are there resources online with tips on asp to asp.net conversions?

760


Is global asax mandatory?

740