Take advantage of the dependency injection principle to provide support for pluggable implementations in your application and build loosely coupled, testable components The Dependency Inversion ...
In my last article, I detailed a high-level comparison of two dependency injection frameworks: Guice and Spring. As I mentioned then, although they both fully embrace the principles of DI, they have ...
This article discusses the strength and weakness of applying Dependency Injection (DI) with a variant of Abstract Factory design pattern. This approach is especially suitable for such scenarios as ...
This worked OK in the beginning. As my application grew, I wanted to take advantage of IoC in my ViewModel; there were repositories to inject as well as other dependencies. Because of these and other ...
The Managed Extensibility Framework in .Net avoids fragile hard dependencies in your code and builds applications that are loosely coupled, lightweight, and extensible The MEF (Managed Extensibility ...
In this article, I'll look at ways to combine Windows Presentation Foundation (WPF) and the Inversion of Control (IoC) container Castle Windsor to decouple Views and ViewModels within ...