Can we have more than one web.config in one project ?
-
yes we can have more web.config file but it should not be in the same root folder.
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus
-
Hi RaviJJain, Yes,we can add more than one web.config in one project. But Level of .Config file is must be different. If you add one web.config file at root of your web application, you can add new .Config file in different folder in your application. As an example, you don't want to access any anonymous user to view content of "masteradmin" folder. For this purpose you can add new .Config file in your "masteradmin" folder. Here if you have allready <--authentication><--/authentication> part in root's web.config and you have same <--authentication> block in "masteradmin"'s .config file, <--authentication> block that is for "masteradmin" folder is overriden from Root's config file. -- modified at 3:08 Thursday 12th July, 2007 -- modified at 3:09 Thursday 12th July, 2007
Mustakim Mansuri