Desbloquea la inyección de dependencias

In this video, I explain everything about Dependency Injection, from its origins to IoC Containers. We'll cover concepts like Inversion of Control, Dependency Injection, constructor injection, parameter injection, coupling and decoupling examples, and real-world examples of how dependency injection can help us decouple code in almost every programming language. Chapters 00:00 Introduction 00:40 Anecdote 00:51 What are we going to do today? 01:36 The D in SOLID 02:32 Coupling Example 04:47 Decoupling with Dependency Injection 07:13 The Problem 08:17 New Is Glue 09:03 Decoupling with Dependency Injection 10:00 Where are dependencies injected? 11:46 Recap and Tips 12:35 New Problem 13:21 Reflection 14:28 Type System + Reflection = IoC Container 17:29 What We're Going to Do Next 18:07 The IoC Container in .NET 18:57 Implementing the Decoupling Example 20:40 Adding Classes to the Container 21:33 Requesting Dependencies on Endpoints 22:57 What Happens if Dependencies Are Missing in the Container? 23:55 Dependency Injection in TypeScript 25:19 Final Conclusions