problem with web.config
-
in my website i have to folders. in that two folders i put two web.config files for each one. And in root folder i put another web.config file in that i write below code Now i want to user this authentcation in above two folder but. here. for folder1 i have different login url and defaulturl. and for folder2 i have different login url and default url. how to apply root web.config to those to folders web.config
-
in my website i have to folders. in that two folders i put two web.config files for each one. And in root folder i put another web.config file in that i write below code Now i want to user this authentcation in above two folder but. here. for folder1 i have different login url and defaulturl. and for folder2 i have different login url and default url. how to apply root web.config to those to folders web.config
You mean you have 2 web config to two subfolders of your virtual directory, and you want to remove them and want to use a single web.config to handle both of them from root. I think you can have 2 different appsettings key to handle this, so that if the url contains the foldername apply one otherwise some other... You need to do the checking programatically. :rose:
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates