Can one website application have more than one web.config file?

Posted by Kulprachi84 under ASP.NET on 3/21/2012 | Points: 10 | Views : 4030 | Status : [Member] | Replies : 3
Can one website application have more than one web.config file?




Responses

Posted by: Patel28rajendra on: 3/21/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

yes one website application can contain more than one web.config file but each should be in different folder

Mark as Answer if it helps


Thanks


R D Patel

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/21/2012 [Member] Silver | Points: 25

Up
0
Down

Yes you can have multiple web.config file in a project.
Refer to:
http://dotnet.dzone.com/news/working-more-one-webconfig
http://www.codeproject.com/Articles/11034/Working-with-more-than-one-Web-config-file

Thanks,
Sanjay

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/21/2012 [Member] Bronze | Points: 25

Up
0
Down
Yes, one website can have multiple web.config files, should be located in different folder.

Thanks,
Rajni Shekhar

Kulprachi84, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response