Skip to content

jeremybytes/dependency-injection-net9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DI Why? Getting a Grip on Dependency Injection

Level: Introductory / Intermediate

Most developers are introduced to dependency injection (DI) completely backwards: they are given an application that already uses dependency injection and told "Good Luck". But it is really hard to get the benefits from DI if you do not exactly understand what it is and, more importantly, why you want to use it. Let's change that. In this session, you will see problems that are caused by tightly-coupled code. You will see how dependency injection can break that coupling. And you will see how loosely-coupled code is ultimately easier to extend and test. Along the way you will see some DI patterns such as constructor injection, and you will get a better understanding of what a DI container does. With these skills in hand, you can use dependency injection to make your own code easier to extend and test.

Resources

DI Patterns

Decorators and Async Interfaces

Challenges

Other Resources

Other Topics


About

Slides and code samples for "DI Why? Getting a Grip on Dependency Injection" (using .NET 9)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published