Chapter 7: Deep Dive into Dependency Injection
In this chapter, we'll explore the ASP.NET Core 5 Dependency Injection system and how to leverage it efficiently, its limits, and its capabilities. We'll also cover how to compose objects using Dependency Injection, the meaning of Inversion of Control, and how to use the built-in Dependency Injection container. We'll cover the concepts behind Dependency Injection too. And we'll also revisit our first three GoF design patterns using Dependency Injection. This chapter is crucial to your journey into modern application design.
The following topics will be covered in this chapter:
- What is Dependency Injection?
- Revisiting the Strategy pattern
- Revisiting the Singleton pattern
- Understanding the Service ...
Get An Atypical ASP.NET Core 5 Design Patterns Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.