Pues sí, a ver ...

 

 

CAB Module isolation requirements - Need your input(9/22/2006 11:59:55 AM)

A requirement we hear every once in a while is the need to provide strong isolation between modules being loaded in a CAB Shell. Typical needs are: - We need to unload and load modules - The shell has to be resilient to module failures - Ability to apply updates to modules without restarting the application A common question is: "aren't AppDomains supposed to provide this kind of isolation?" The answer is: yes and no. You can have multiple modules loaded in different AppDomains as long as they don't have visuals. Modules that have visual elements (UI controls, Shell, views, etc.) need to run on a single AppDomain. This is not a CAB limitation, it is actually the way Winforms works today. Of course you are responsible for cross-domain communications and that might require changes to the EventBroker for example. In practice, you can have reasonably good exception harnesses in all modules. That's how we coded our Reference Implementations in the SCSF for example. Quite frankly, we might not be able to change much in the short term, but we are definitely interested in learning more about it, and the CLR team is also interested. If you have anything to share, please send me an e-mail, or fill this really short (7 questions) survey. Thanks a lot!! p&p Client Team

Posted By eugeniop

Go to patterns & practices - Smart Client Software Factory

 

Saludos

El Bruno