Information générale
Catégorie:
The Mere Mortals .NET Framework
Hi Kevin,
As I want to provider the same web application to several customers under different URLs I found now another way how to do it.
I create a new virtual directory in IIS that points to the physical directory of my application. With that the mmAppBase is another, than the one created by the application in my original directory.
Now I can switch the mmAppBase.DatabaseMgr.DatabaseSetKey according the virtual directory and can use databaseSets without changing a lot of code.
I don't know whether it is possible to specify a own web.config for the virtual directory, which might be another idea.
With regards
Thomas
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement