Simple play icon Course
Skills

C# 10 Dependency Injection

by Henry Been

For professional developers, dependency injection is an important technique to keep your codebase testable and maintainable. This course will teach you how to implement dependency injection when working with C# 10.

What you'll learn

Inversion of Control (IoC), implemented through dependency injection, is one of the five principles of object-oriented software design. Every developer who writes code for a living needs to master this topic. In this course, C# 10 Dependency Injection, you’ll learn to add dependency injection to your applications. First, you’ll explore how to configure a dependency container, resolve dependencies, and master lifetime management. Next, you’ll discover intermediate and advanced techniques for effectively managing configuration and HTTP connections, how the different lifetimes work in detail, and how you can use that to your advantage. Finally, you’ll learn how to spot common mistakes, errors, and scenarios, and how to approach them using advanced techniques. When you’re finished with this course, you’ll have the skills and knowledge to add dependency injection to solutions of every size.

Table of contents

About the author

Henry Been is an independent architect and developer from The Netherlands. He enjoys working with software development teams to create and deliver great software. His interests include the Azure cloud, Agile, DevOps, software architecture, and testable and maintainable software design and implementation. Besides his work, he is a conference speaker at international conferences, is the author of two books, and creates online training courses for Pluralsight and A Cloud Guru. For his work in the c... more

Ready to upskill? Get started