I have a Winform Gui that serves various purposes. I am creating an additional plugin, that if present, adds another tabpage to my tabcontrol and then adds the required controls, etc.
My question is, am I best coding this into the main app, ie ‘if dll present create this view’ or should I code it into the dll and use reflection? Is it possible using reflection?
Thanks/
You should maybe look into existing framework that does exactly what you are looking for. For exemple, Managed Extensibility Framework MEF
Or if you need to be in seperate app domain, you can use Managed Addin Framework MAF
But in your case I think MEF should do the trick.
Might be overkill though if you just have this one scenario … but it’s an option.