Posts Tagged

DI Container

Where should I register my dependencies?

The Scenario: You are developing a system, applying the S.O.L.I.D concepts and de inversion of control principle, you decide to use dependency injection and some DI Container. The literature and the patterns tell us that the dependencies should be registered as close as possible to the entry point of an application, that is, usually the…

Read More