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
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 |
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 |
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 |
How to upload a file using file upload control inside the Update Panel???
What is boxing and unboxing ?
7 Answers Accenture, Infosys, MedTek,
Is web config mandatory?
What is the difference between pathparam and queryparam?
What are validator? How do you disable them?
How many classes can a single .NET DLL contain?
What is the difference between abstract class vs interface? Can give me the real time examples?
How can you register a custom server control to a web page?
I have one application, one user purchase some products in my application? and another person came he is also purchase some products?how can we identify which user purchase which items? my answer is by using session id? but i dont know how? can u give me programming for that?
Explain the difference between the web config and machine config.
Can we add code files of different languages in app_code folder?
What are the ways of preserving data on a Web Form in ASP.NET?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)