Web config.
Is it possible to add more than one Web config. in our project?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Mar 4, 2012, 7:25 PM EST
The root level web config file is default config file. Every folder can have only one web.config file.
The inner level web.config file will take the precedence to use that level. If it is not found then it will find the outer level.
The variable set the in the root level can be overriden in the folder level. When the asp.net pages use that variable then it will try to use with that folder web config file.
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 4, 2012, 10:50 PM EST
Yes you can but in differant location in project.
please refer, it is very good article.
http://weblogs.asp.net/gunnarpeipman/archive/2009/06/03/visual-studio-2010-multiple-web-config-versions.aspx
hope this help.