When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

C# Dependency Injection
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#.

This Course Includes
pluralsight
4 (90 reviews )
2 hour 43 minutes
english
Online - Self Paced
core courses
pluralsight
About C# Dependency Injection
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# 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.
What You Will Learn?
- Course Overview : 1min.
- Getting Started with a Product Importer : 30mins.
- Lifetime Management : 35mins.
- Expanding the Product Importer : 39mins.
- Common Pitfalls and Challenges : 24mins.
- Advanced Techniques : 32mins.