concept WPF application in category .net

This is an excerpt from Manning's book Dependency Injection in .NET.
Creating a rich client based on WPF is a new application that shares most of its implementation with the original web application. Figure 2.11 illustrates how a WPF application would need to take the same dependencies as the web application. The original web application can remain unchanged.
A WPF application’s entry point is fairly obvious and uncomplicated, and although it doesn’t provide SEAMS explicitly targeted at enabling DI, we can easily compose an application in any way we prefer.

This is an excerpt from Manning's book Entity Framework 4 in Action.
We won’t dive into the actual implementation of the PreProcess method, but you should appreciate how a layered architecture offers an undeniable advantage in terms of code simplicity, logic, and reusability (which often leads to easier maintainability). The code that implements the discount logic is always the same, regardless of the client. If you were to change from using a web page to a WPF application, you could easily reuse it. At the same time, any bug fixes or changes to the business rules have no impact on the user interface code and remain confined in the OrderService class.
To fully support the binding capabilities in both Windows Forms and WPF applications, classes must implement a few specific interfaces: