Prism 4 Region Navigation with Silverlight Frame Navigation and Unity

I have blogged how to use the Unity Container with Prism 4 Region Navigation and the Silverlight Frame Navigation API’s.

While the sample code for the post is Silverlight, the Unity Configuration requirements are the same for WPF.

Have a great day,

Just a grain of sand on the worlds beaches.

7 Responses to Prism 4 Region Navigation with Silverlight Frame Navigation and Unity

  1. [...] Silverlight, the Unity Configuration requirements are the same for WPF. Have a great day, Just… [full post] Karl Karl On WPF – .Net c#navigationprismsilverlight 0 0 0 [...]

  2. [...] Prism 4 Region Navigation with Silverlight Frame Navigation and Unity (Karl Shifflett) [...]

  3. Awesome Karl,

    I am going to have to dig into this example and understand how it works. I am currently working on a large project in SL, EF4, and utilizing Rocky Lhotka’s Csla framework. Am digging into Prism, both Mef and Unity and am torn between which one to use. I see some articles that Unity is dead, however, this article put out by you will definately slow it’s demise because you put a lot of time and effort into creating this example. I have listed pros and cons of each and am doing a small subset of the application to use both Mef and Unity to compare and contrast the two patterns.

    If you could add a couple of pros and cons pertaining to each or some ideas on how to pick which one, that would be great. I know it would be tough as you have not seen the application, but just some insight from you would be most benneficial.

    Thanks again for an awesome example. Looking forward to your Prism In The Box stuff in the future.

    CyclingFoodmanPA

  4. Thanks Karl, you are the man. Glad Unity is not dead because I like a lot of features of it but it just seems that MS is pushing Mef and all the stuff coming out is on Mef. Thanks for all the hard work and time you put into these examples for us developers to devour!

    Have a great day,
    CyclingFoodmanPA

  5. Hi Karl,

    Yes, it is me again :) . In that project I am working on, I have a number of modules and have them contained in the ModulesCatalog.xaml. It seems that each time the application loads, the modules are loaded in a different order as displayed by the RadRibbonBar as I have each module containing a RadRibbonTab. Is there a way to ensure modules load in a certain order? I assumed (you, being a former Marine, knows what happens when you ass-u-me) that they would load in the order they were entered in the ModulesCatalog. But that isn’t happening. Anyway, any insight on loading order would be great.

    CyclingFoodmanPA

    • Karl says:

      Modules can have dependencies assigned to them. Check out the Modules chapter and search for the section, “Specifying Module Dependencies”

      Cheers,

      Karlo

Follow

Get every new post delivered to your Inbox.

Join 145 other followers