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

What does occur first in ASP.Net, Authentication or Authorization?

566


What are session state modes? List some of the important session state modes of asp.net.

537


How does a content page differ from a master page?

508


What is autopostback in dropdownlist in asp net?

535


What is web api vs wcf?

583






What are user controls?

571


How does session work?

509


Explain Features in ASP.NET

578


Why do you use the app_code folder in asp.net?

552


Can I tap into other windows livetm services?

570


What is server side in asp.net?

498


How u refer webservices?

1496


Explain the role of global.asax?

553


How do u deploy ur project?

2220


What is session management in web application?

553