Skip to main content

Dependency Injection in .NET

Event:.NET User Group Regensburg
Type:Talk
Date:June 28, 2017
Duration:2h
Location:Regensburg, Germany
Language:German

In this talk, we explore the topic of Dependency Injection in .NET and discuss how it can be used to improve the design and architecture of our applications. We also explore different DI Containers and their performance characteristics.

Event Details

Dependency Injection in .NET Video on YouTube

In ASP.NET Core applications, the Dependency Injection (DI) container has become a fundamental component. It allows us to flexibly resolve object graphs — but what’s really happening behind registrations, lifetimes, the different types of Dependency Injection, and object composition?

In this talk, we’ll dive into the internal architecture of DI containers to understand exactly what occurs when an object graph is resolved. We’ll also discuss common patterns and anti-patterns in Dependency Injection, explore how the principle can be applied to data loading from databases or web services, and examine how it fits within the broader context of the SOLID principles.

More information