A friend who is just getting into WPF recently asked me for advice on how best to create a WPF application that allows access to multiple data sources for read-only viewing purposes. Like many developers in our industry (investment banking), he was coming to WPF from a Winforms/VBA background and hadn’t yet fully grokked the usual WPF paradigms.

This series of blog posts will describe the standard Windows WPF application creation, using VS2013, Prism 5 and a pretty strict MVVM implementation.

Set the stage

Create a new solution with two projects, one standard C# class library project for common code and one WPF application project for UI code. I’ve named my common code assembly WpfDataDemo.Core, and left my UI assembly as WpfDataDemo.

Nuget your code by downloading Prism and the Unity extensions and set them as references in both your Core and UI assemblies.