Figuring Out When Not To Use DI, IoC, and IoC Containers in .NET C#by@ahmedtarekhasan

Figuring Out When Not To Use DI, IoC, and IoC Containers in .NET C#

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

Dependency Injection (DI), Inversion of Control (IoC), and IoC Containers are our friends, but like everything in life, if you abuse using them, you would get what you don’t ever wish for. Before DI and IoC Containers, it was a hell to manage dependencies between different modules/classes and that’s why we were more careful and cautious about defining these dependencies. We used to think twice or even more about each module/class dependency before starting the implementation. However, now after having DI, IoC, and IoC Containers, defining a dependency became like breathing, you implicitly do it when you actually don’t recognize it.
featured image - Figuring Out When Not To Use DI, IoC, and IoC Containers in .NET C#
Ahmed Tarek Hasan HackerNoon profile picture

@ahmedtarekhasan

Ahmed Tarek Hasan

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa