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?



why we should use more than one web.config files in our application? I have two web.config files i..

Answer / 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

More ASP.NET Interview Questions

What are directives in asp.net? List down all the important directives.

0 Answers  


What is the difference between c# and .net?

0 Answers  


write a sample code make use of xmltext writer

1 Answers   GCI,


What is the differances between a abstract calss and interface

2 Answers   Patni,


How do you do Client-side validation in .Net?

0 Answers  


Explain how is a property designated as read-only?

0 Answers  


What is difference between ASP and ASP.NET ?

3 Answers   TCS,


Way of updating a table other than stored procedure and hard coded query?

2 Answers  


I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?

0 Answers   TCS,


all asp.net interives questions

1 Answers  


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

0 Answers   CDC,


Explain how do you deploy your asp.net application?

0 Answers  


Categories