Back on May 12th, I attended this little event you might have heard of called TechEd in Houston, TX. Just before the event, Robert Green, the host of Visual Studio Toolbox on Channel9, invited me back on the show to talk a little about MVVM and some best practices I would recommend to anyone using MVVM, or getting started with MVVM. The last time I was on the show, I was joined by Jason Beres at TechEd in New Orleans, where we talked about Infragistics kick-ass XAML controls. At the end of the show Robert gave us both a little gift… Mardi Gras beads! And I didn’t even have to flash anyone. So this time, I thought I would return the favor, and give Robert a gift that you can only get in Idaho. Darth Tater!
In this episode, I share my best practices for building applications using MVVM. I start off by reviewing what MVVM is and what it isn’t. I then demonstrate several things you should not do and why you should not do them. In addition to the demos, I give some advice on how I approach some common scenarios.
This video was uploaded on May 21, 2014, and in just eight short days, it has become the #1 highest rated episode of all time. I’m not sure how long that will last, but I am pretty excited about it right now. I would like to thank everyone that took the time to watch the episode, left a comment, and voted. I appreciate all the support that you, and the entire developer community, gives me. Let’s see how long it will stay at the top.
As always, feel free contact me on my blog, connect with me on Twitter (@brianlagunas), or leave a comment below for any questions or comments you may have.
Cool, very nice indeed 🙂
btw. Still waiting for that advanced PRISM course for puralsight, any ETA?
I had to put it on hold to do a What’s new in Prism 5.0 course, which should be releasing within weeks. I’ll have to reschedule my work on the advanced course. If there is anything specific you are looking to learn, let me know.
That’s great news Brian, looking forward to it.
Here’s a short list of what I would like to see:
– Region Behaviors
– Scoped Regions
– Advanced navigation (like navigating within scoped regions)
– How to handle data loading in a multi region window (INavigateAware doesnt work)
If you need any more ideas please let me know, I got plenty of “issues” with my current application 🙂
Best regards
Valdimar Thor
Just so you know, I just got my advanced Prism course titled “Prism for the Real World” approved and I will start recording soon. It will cover everything you listed.
Do you believe that implementing INotifyPropertyChanged in a model is right?
Yes, and I would actually say it’s a requirement. Otherwise you will have an immediate memory leak for any binding you create.
WOW just what I was searching for. Came here by searching for wpf
Really nice!!!
Source Code demonstrated in this video is available anywhere?
Unfortunately no. This was done on the spot just before the show was recorded. I didn’t keep any of the code. Sorry.
Can you point me to any other source that can help me understand the working of commanding. Appreciated.
Sure… you can start here http://msdn.microsoft.com/en-us/library/ms752308(v=vs.110).aspx