
Is Dependency Injection dead? - Part 3: Anti-Patterns
Welcome back to the third part of the Dependency Injection series! Last time we talked about Services registration and lifetime configuration. Today instead we’ll see 2 very common anti-patterns in DI world. Let’s start from the basics. The first anti-pattern is called Control Freak. Let’s see some code first: public...
2022, Oct 02 — 4 minute read