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
Write some code using interfaces, virtual methods, and an abstract class`
What is the difference between stored procedure vs function?
Can you explain page lifecycle in net?
What is cached data phone?
Explain global assembly cache.
What is data caching?
What does session_start () do?
What is the significance of ASP.NET routing?
Define the term Web Garden?
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
What is the difference between Classic ASP and ASP.Net?
What are the memory-mapped files?
Mention the namespace that is used to include .net data provider for sql server in .net code?
What is the use of view state?
What are the layouts of ASP.NET Pages?