Deep Dive into Dependency Injection and Writing Testable Software
Play Deep Dive into Dependency Injection and Writing Testable Software
You may think you have a decent understanding of what Dependency Injection (DI) is, but the truth is that to really write testable software you need to stop any hard class instantiation anywhere in your applications. We’re talking about a full embracement and understanding of dealing with abstractions and lifetime management. There are also details you need to understand about how DI Containers work and what makes one differ from the other. In this session, we jump right into DI usage on various platforms. We show you how to use it in a web, desktop, and even back-end service and data-access environment. We bring other patterns, like Abstract Factory, into play to solve other types of problem in conjunction with Dependency Injection. In the end, a combination of technique and product will ensure that your applications remain testable and extensible every step of the way.