>Bob,
>
>Can you copy local for the DLLS? This will make life a lot easier as you don't need anything in web.config. If the DLLs live in the BIN directory you can simply load by name.
Ok, so you are saying just give the projects different names and drop them both into the bin folder.
>I use factory methods for this sort of thing and then isolate each of the DLL calls into a separate assembly. This is for example, how my app loads data access providers dynamically and only as needed.
Ok, but how do I reference both assemblies if they have the same class names? Or, should I have different classnames that implement the same interface sort of like the .net data providers.
Or, perhaps you are saying that I don't put a reference to the assemblies in the project? I've never used assembly.load().
What would the factory method look like. Wouldn't I still need some config item to know which class to load?
Thanks,
BOb
Précédent
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