Tame Your Giant, Beastly Dependency Injection Registration Class and Ride It Into Glorious Victory

added by Paul Wheeler
4/4/2018 2:51:42 PM

1 Kicks, 114 Views

We use DI containers (dependency injection containers, also called inversion of control containers or IoC containers) to help us write cleaner, more manageable code. Isn't it ironic, then, that one of the most cluttered and chaotic areas of our code is often the part where we register dependencies with the container?