Chapter 6. Northwind—h;Hierarchical View Model and IoC
By Ryan Vice
In this chapter, we will explore the power of using the Hierarchical View Model approach for building XAML applications. We will use this approach to add the ability to show order details in our application. As we begin to add this functionality, we will take some time to reconsider our design, and look at using an IoC (Inversion of Control) framework to improve our productivity.
Adding orders to customer details
Let's update Northwind to show the orders for each customer in the
CustomerDetails.xaml view as shown in the following screenshot:
The approach we are going to use here ...