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

How many web.config files can I have in an application?

0 Answers  


what is CTS?

3 Answers   PrimeLine,


What are the main differences between asp and asp.net?

0 Answers  


Explain difference between friend and protected friend?

0 Answers  


Define dll hell?

0 Answers  






Explain how asp.net page works?

0 Answers  


How do http sessions work?

0 Answers  


Can we use html in asp.net?

0 Answers  


Tell me Asp.net Method Overriding.

3 Answers  


How can I configure asp.net applications that are running on a remote machine?

0 Answers  


what is the uses Of Global.asax

3 Answers  


What is difference between ispostback and autopostback in asp net?

0 Answers  


Categories