InfoQ

InfoQ

Editor Specific Content View

All of Mark Seemann's Content on InfoQ


Latest featured content by Mark Seemann

Succeeding with Dependency Injection

Topics
Dependency Injection,
Design Pattern,
.NET,
Object Oriented Design,
Patterns,
Design,
Programming

While the principal pattern is easy to understand it can be difficult to succeed with Dependency Injection without considering the larger context. DI is an application of the principle of Inversion of Control and to succeed with IoC you’ll also need to invert your thinking. This article provides a sketch of the mental model you need to adopt to succeed with DI.