Wrapping Up with IoC

Integrating an inversion of control (IoC) container inside the WPF application will provide more power and control over the application flow. Before showing how to integrate IoC in the TimeTracker application, I'll give you an overview of what the IoC pattern is, how it works, and how it can be implemented.

Inversion of Control

The concept of inversion of control, also known as dependency injection (DI) was introduced by Martin Fowler in 2004 while discussing enterprise patterns and architectures for the Java technology. The same concept applied later to the .NET world because the two systems are very close and use the same concept: a base framework implemented using an object-oriented programming (OOP) language.

There are ...

Get Applied WPF 4 in Context 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.