Prism Regions

Topics: Questions
Jul 26, 2012 at 11:49 AM


i made a test with Catel / Prism.

I used your BootstrapperBase with no external Container.

But now the Prism RegionManager detects only the last region i defined in my XAML.

Maybe this is a internal Shared/Non shared problem similar like this


Best regards, Uli

Jul 26, 2012 at 1:48 PM
Edited Jul 26, 2012 at 2:06 PM

Maybe the problem is that the Catel ServiceLocator only produces Singletons?

- Edit -

Yes, that's the problem.

I think you have to modify your BootsrapperBase to use UnityContainer and register

the UnityContainer as external in your ServiceLocator.

This works for me.


Best regards, Uli

Jul 26, 2012 at 3:04 PM

Then luckily for you, Catel 3.3 will support lifetime management for the IoC container :)

Jul 26, 2012 at 3:20 PM

Great, thank you