Folks, I'm writing an app that has controls as plug-ins. I'm following a
typical pattern by creating an SDK project with all the interfaces and
helper classes shared by the shell and the plug-in projects. The shell and
the plug-ins only know of each other via interfaces.

 

I'm wondering how technically far I can take the plug-in pattern at runtime
with WPF. In WinForms and WPF you can call Assembly.LoadFrom over DLL files,
find classes that contain plug-in controls, instantiate them and add them to
a parent control. I've done this lots of times and all of the loaded classes
and assemblies go into the main AppDomain.

 

Is there a technique in the WPF world that allows me to find and load
controls and place them in their own AppDomains so they are well separated
at runtime? You can't do this with WinForms controls. I'm just curious if
there are new snazzy techniques in WPF for this sort of thing.

 

Cheers,

Greg

_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to