how to direct web.config to use sections in subfolders
-
I have a web.config Root folder of my application and another web.config in a sub folder. I want the sub folder to use the web.config present in the Root.. can you help to me.....
-
I have a web.config Root folder of my application and another web.config in a sub folder. I want the sub folder to use the web.config present in the Root.. can you help to me.....
The configuration settings specified in the web.config from sub folder will always override the settings of the root folder web.config. If you want to use the parent folder configuration settings, then remove the same configuration fron sub folder's web.config. Then it will be taken from root web.config by the application.
-
The configuration settings specified in the web.config from sub folder will always override the settings of the root folder web.config. If you want to use the parent folder configuration settings, then remove the same configuration fron sub folder's web.config. Then it will be taken from root web.config by the application.
I am working on a DLL that will be licensed per domain and am trying to figure out the best way to handle subdomains. How are sub-domains typically setup? I thought something like c:\websites\domainX\www -> virtual directory for www.domainX.com c:\websites\domainX\store -> virtual directory for store.domainX.com Where would the DLL need to be so both "web sites" can use its functionality? Or should the sub domain be setup directly under the www directory c:\websites\domainX\www\store -> virtual directory for store.domainX.com if the bin folder is also under \www will the subdomain site still have access to it? I think if someone navigates to www.domainX.com/store the answer is Yes but if they navigate using store.domainX.com the answer would be No because the root folder is now the Store folder. I currently only have access to XP and IIS5 for development. How can I emulate subdomains in this environment?