akMSFT

Creating a modular application using Prism V2 - Screencast 1/4 : Creating a shell and modules

Download this episode

Download Video

Description

In this 4 part series, Bob Brumfield and Erwin van der Valk from patterns and practices shows you how to build a modular application using the recently released Composite Application Guidance for WPF and Silverlight - February 2009 (also known as Prism V2).  

Part 1. Creating a shell and modules

In this screencast, you will see how to divide an application into modular pieces and how to recombine them again in a shell.

For Part 2 of 4: Visual Composition

Bob Brumfield and Erwin van der Valk are both Software Development Engineers at Microsoft patterns & practices and have both worked on the Prism V2 project.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • vesuvius
      I will be keeping my eyes out for the other three parts, thank you P&P!
    • akMSFT
      vesuvius,
      You are welcome. I will be posting the other 3 screencasts this week.
    • DCMonkey
      There's something horribly wrong with the audio.
    • akMSFT
      All,

      I apologize for the audio issue. Working on fixing it right now. I will upload a new file shortly.

      thanks
    • akMSFT
      All,

      I am working on getting the video file updated to fix the audio issue. In the meantime, please use the WMV (High) file from here: http://mschnlnine.vo.llnwd.net/d1/ch9/6/8/6/8/5/4/PrismV2Screencast1_2MB_ch9.wmv. The audio quality is much better in this version. Sorry for any inconvenience.

      Thanks
    • akMSFT
      New video is online now. Audio issue is taken care. Thanks
    • DqvY
      Hi,

      Well done for these screencats. The model is very interesting, but it is a bit complex to understand.
      Can you give us your source code after each step.

      Thank you P&P team!


    • bobbrum
      I will be posting, at least the final code, and if I can, I'll see if I can break down the code into the start/end of each module so people can follow along.  I'll post here where I end up placing that code.
    • bobbrum
      I've posted the final source code for this series to the Codeplex site.
    • Rachida
      Thanks so much for these tutorials.
      Keep the good work
    • Rachida
      I downloded the Composite Application Guidance for WPF and Silverlight - Feb 2009 But I can't find this dll :
      Releasemicrosoft.practices.composite.dll?
      What I 'm missing thanks.
    • bobbrum
      Rachida,

      We did not release the Composite Application Library in a binary format, just source, so you'll need to compile them yourself.

      -b
    • Rachida
      I just watched the first video, I loved it. I found out how to get the the Composite Application Library.
      Thanks for the good work.
      Rachida
    • rcbapb

      Hi guys - the high quality links do not work. Could this be fixed? Thanks!

    • brianstewey

      At 3:56 how did you make Visual Studio resolve which using reference the UnityBootStrapper class required?

      EDIT: Scrap that I found out how do do it. Cheers

    • TomKlein

      Awesome tutorials, spend all day finding small bits and pieces untill I stumbled onto this and it put it all together and more.

    • chinni

      Thanks a lot for posting videos and code.

       

      Hi i am working on prism2 and trying to divide shell into region and it working fine with the following code:

      Grid >  

      <Grid.RowDefinitions>  <RowDefinition Height="Auto"/>    <RowDefinition Height="*"/>  </Grid.RowDefinitions>  

       

       

       <basics:TabControl Regions:RegionManager.RegionName="ResultsRegion" Grid.Row="1" Margin="3"/>

       

      But when i want to change these (content or tabcontrols) to canvas ,grid or stackpanel im getting RegionCreationException was unhandled by user code error.

       

      Same error when i tried directly to apply Regions to RowDefinition. ERROR::::(RegionCreationException was unhandled by user code)

       

      Is there any  conditions to divide shell and assign Control Or Panels to the regions of shell.

      Thanks

    • al514

      why is the audio/video quality horrible?

    • MaidenDotNet

      I am confused as to the last part of the presentation where you used category.TypeOf(DiggModule) and make a reference you say shouldn't really be made?  Demos and training can sometimes be difficult for people who are really trying to make their code better and more flexible by using Dependency Injection and Inversion of Control, etc.  However, then you will see things in demos which completely contradict what you have learned.  Just once, I would like to read an article or see a demo where no compromises are made so I can really see what it's like to follow all of these practices.

       

      I understand that sometimes these things are done for various reasons and mean no criticism of your demo.  I just want you to know that for people who are not yet familiar with everything yet, it can be frustrating and confusing since you never get to see an example that is in complete agreement with what is being taught.

      Angel

    • Harish​Suhanda

      None of the videos in this section are working. I am not able to download nor I am able to view them. Please fix it.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.