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:
- 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. - Add a reference ...
Get Windows Presentation Foundation 4.5 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.