Module App Config

Topics: CAB & Smart Client Software Factory
May 10, 2006 at 3:56 AM
originally posted by: svanniekerk

I've been using the SmartClient BAT for some time now. It converted me from Delphi to C#.

Now I was wondering if I can use(how-to actually) an App.config file for each of my modules (possibly merging it to the Shell's App.config at run-time) that I planned or plan to use in the future. This way I don’t see the need to update my entire Application but only the modules from time-to-time.

My thinking was to build a little MSI installer that I download (Yes I am using IModuleEnumerator) to deal with loading module dependencies etc. Then have the module use its own App.config (preferably merged to Shell's) to deal with things that’s not currently in the Shell's App.config.

That brings another question to mind. Is it possible to re-load the modules on the fly?

Regards
Sarel