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
Is there any property names “isnavigating”?
Is sql backend or frontend?
Why do we use datasource in asp.net?
When Cookies are expired in ASP.NET?
Is web config mandatory?
What are session state modes? List some of the important session state modes of asp.net.
What is the use of service provider?
Can you use c# without .net?
What are the events that happen when a client requests an asp.net page from iis server?
Is asp.net and .net same?
Do you support digital rights management to protect my videos?
How about the security in Activex DLL and Activex EXE ?
Difference between response.redirect and server.transfer?
What is Pre-Render event in ASP.NET?
What is the difference between exe and dll?