Course info
Jul 14, 2014
2h 25m

What's New in Prism 5.0 covers all the breaking changes, new features, and new assemblies in the newest release of Microsoft Patterns and Practices Prism 5.0 library. This course will tell you the new dependencies your applications will require. We will also discuss the breaking changes, deprecated objects, and new objects you should use, how to upgrade your existing applications, and all the new features and functionality that has been added to Prism 5.0.

About the author
About the author

Brian Lagunas is a Microsoft MVP, a Microsoft Patterns & Practices Champion, Director of Technology for INETA, co-leader of the Boise .Net Developers User Group (NETDUG), board member of Boise Code Camp, speaker, trainer, author, and original creator of the Extended WPF Toolkit.

More from the author
More courses by Brian Lagunas
Section Introduction Transcripts
Section Introduction Transcripts

Are you a WPF, Silverlight, or Windows Phone developer that has used the Microsoft patterns and practices library to build your applications? Well if you are, then you might want to know that the patterns and practices team has just released the next version of Prism 5. 0. You may also want to know that every application you've ever built with previous versions of Prism are now broken. Hi, my name is Brian Lagunas, and in this course I'm going to cover everything that's new in Prism 5. 0. We're going to look at the new assemblies, we're going to look at new objects, we're going to look at the deprecated objects, what you don't want to use anymore. I'm going to help you upgrade your application from Prism 4. 1 to 5. 0. We're going to look at new features, and we're going to look at completely new functionality that's been added to the Prism library. In this module, we need to get to know what's new in Prism 5. 0, we want to see all the changes before we can get to upgrading apps, before we can get to that new functionality. So first we're going to take a look at where to get the new Prism 5. 0 assemblies and source code. We also want to check out the new supported platforms because they have changed. We're going to see assembly changes. We're going to look at the deprecated objects, you definitely want to know these because you don't want to use them anymore, right, you want to use all the new stuff. We're going to look at objects with a new home. What this means is existing objects in Prism 4. 1 that have moved to a new location. Chances are this is a breaking change for you. We're going to see objects that were removed. Now this is definitely a breaking change. These are objects that were completely removed from the assembly altogether. And then we're going to take a peek at some of the removed, updated, and new QuickStarts to help you learn some of the new features that have been included in Prism 5. 0.

Upgrading Your Applications
In the last module you learned about all the changes that the new Prism 5. 0 release introduces. This includes the platform changes, the new assembly requirements, objects that have been deprecated or moved to a new location, or even completely removed from the Prism library. And quite possibly, right about now you could be freaking out because every app you've built previously to the Prism 5. 0 release is going to be broken when you try to upgrade. Hi, my name is Brian Lagunas, and don't freak out, because in this module I'm going to show you how to take your previous 4. 1 Prism application and upgrade it and get it compiling using the new Prism 5. 0 assemblies. Now our first step to upgrading our previous applications is we need an application to upgrade. So I'm going to go over a sample application, our demo app that we're going to be using as a sample to upgrade from a Prism 4. 1 version to Prism 5. 0. Next, we're going to go through the process of upgrading our applications manually. This means that we are going to be responsible for adding and removing references inside Visual Studio. Then we're going to see an example of using NuGet to upgrade our applications. So this is when we're hitting the NuGet server and we're downloading and upgrading our NuGet packages from a previous version. And then there's one special scenario I want to show you around upgrading an application that has navigation in it, so we're going to do a small demo on looking at upgrading our navigation application.

New Features in Prism 5.0
In the last module, you just learned what it takes to upgrade an application built with a previous version of Prism to use the new Prism 5. 0 assemblies. Now right about now you're probably asking yourself, well Brian, you know, with all the time it takes and all the effort it takes to upgrade an application to use the newest bits of Prism, what's the payoff, what's the benefit, why should I even take the time to upgrade my application to Prism 5. 0? Hi, my name is Brian Lagunas and in this module I'm going to start to cover some of the new features that are available to you in the new Prism 5. 0 release. There are really three main features that I want to talk about in this module that have been released with Prism 5. 0, and the first one deals with showing pop ups. If you're building a Prism app, chances are you're using MVVM, or Model View ViewModel, and one of the trickiest parts of using MVVM is showing dialogs within your view model without creating any type of dependency on your views. Right? So we're going to talk about how to achieve that using interactivity. We're also going to look at the InvokeCommandAction. Now I know what you're thinking, wait, doesn't Blend already have that? Yes you do, and we're going talk about how this one is different from the one that the Blend SDK ships. And then we're going to end this module with talking about the new object parameter navigation with Prism 5. 0. You're no longer limited to strings, you can now pass whatever you want when you're navigating from view to view. So let's go ahead and get started.

If you're writing Prism applications, you're using MVVM, and if you're not, you should be. As you're probably aware, previous versions of Prisms lacked good built-in support for building MVVM applications. Well luckily, that's starting to change. Hi, my name is Brian Lagunas, and in this module I'm going to cover some of the new MVVM-related features that are shipping with the newest version of Prism 5. 0. If you don't have any experience using MVVM, and you don't know what MVVM really is, I suggest watching some of the other high-quality videos available in the Pluralsight library. In this module we're really going to covering two things. One, we're going to be talking about the new MVVM assemblies that Prism 5. 0 ships. You're going to learn what the assembly dependencies are, and which ones you need to add to your project to get the MVVM functionality. Secondly, we're going to be talking about ViewModelLocator, this is the primary feature related to MVVM that was shipped in Prism 5. 0. Let's just go ahead and jump right in.