is it possible to set more than web.config file for an
ASP.net APPLICATION?can it run?how is it possible

Answers were Sorted based on User's Feedback



is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it pos..

Answer / aadil ahmed

Yes, it is possible. We can create two or more web.config
file in a ASP.NET application. For Example, we have to
sessions to execute 1. End-User point of view and 2.
Admin/User Point of View. In our web application we can
create a folder named Admin - inside that folder we can
create a web.config and in root folder too we can create a
web.config. Admin folder's web pages will execute based on
admin folder web.config and in the same way to root folder.

Is This Answer Correct ?    11 Yes 1 No

is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it pos..

Answer / mathe

Yes,We Can Use More then One Web.Config Files.
But only one web.config for one folder.

Is This Answer Correct ?    9 Yes 0 No

is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it pos..

Answer / lokesh gopinath

Yes we can have as many as Web.Config Files we want. When
we have multiple Web.config files the CLR will Search for
the Config file which is just below the calling code.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

what is the Difference between Dim Object as object AND dim obj as myform?

1 Answers   Microsoft,


What are the HTML server controls in ASP.NET?

0 Answers   MindCracker,


Does asp.net still recognize the global.asa file?

0 Answers  


Explain login control and form authentication.

0 Answers  


Explain < @OutputCache% > and the usage of VaryByParam, VaryByHeader ?

1 Answers  






What are the different types of validation controls provided in ASP.NET?

0 Answers   Sans Pareil IT Services,


What is the postback property in asp.net?

0 Answers  


What are sessions and cookies?

0 Answers  


If there are two web.config files in a application which config files will get priority?

5 Answers  


I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?

0 Answers   Patni,


What does clearing cache?

0 Answers  


How do you insert multiple rows from a grid view to database table under a single transaction?

1 Answers  


Categories