O'Reilly logo

Windows Presentation Foundation 4.5 Cookbook by Pavel Yosifovich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a complete MVVM style application

Now that we have our own (small) framework to assist us with building MVVM applications, it's time to actually build one. Along the way we may find missing features in our framework, but that's ok; it's a normal way for frameworks to evolve.

Getting ready

Run Visual Studio and open the CH07.CookbookFramework project. This is a long recipe, but hopefully the end result would be worth it (in terms of understanding, not visually).

How to do it...

We'll create a sample blog viewer application using the simple framework we just built:

  1. Add a new WPF project to the current solution, named CH07.BlogReader. This will be a fictitious blog reader application with support for adding posts and comments.
  2. Add a reference ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required