G
Guest
What is the best strategy for dynamic loading private assemblies in asp.net?
I understand, and have confirmed, that any dll placed in the app's /bin dir
will get loaded on startup. This is not desirable.
I have a web service that, based on an input parameter, dynamically loads A,
B or C library. I also understand that an separate AppDomain is needed to
explicitly unload the Assembly. No other apps will use these assemblies.
Do I need an IPlugin Interface type architecture to correctly achieve this?
Where should I put the "sub" assemblies?
Do I use Load, LoadFrom or LoadFile?
Regards,
Brian
I understand, and have confirmed, that any dll placed in the app's /bin dir
will get loaded on startup. This is not desirable.
I have a web service that, based on an input parameter, dynamically loads A,
B or C library. I also understand that an separate AppDomain is needed to
explicitly unload the Assembly. No other apps will use these assemblies.
Do I need an IPlugin Interface type architecture to correctly achieve this?
Where should I put the "sub" assemblies?
Do I use Load, LoadFrom or LoadFile?
Regards,
Brian