AppDomain for each assembly

May 2, 2010 at 11:16 PM

Hi everybody,
I would like to create an AppDomain for each dll in my Plugins dir.
So my idea is:

1) create a custom DirectoryCatalog which derives from DefinitionProviderPartCatalog
2) create a custom ObjectFactory which uses the AppDomain's CreateInstanceAndUnwrap method in order to create the object

What do you think?
Any other ideas?


Jul 19, 2010 at 11:45 PM

You might be interested in this: