Month: August 2021

Revisiting the Singleton pattern – Dependency Injection

The Singleton pattern is obsolete, goes against the SOLID principles, and we replace it with a lifetime, as we’ve already seen. This section explores that lifetime and recreates the good old application state, which is nothing more than a singleton-scoped dictionary.We explore two examples: one about the application state, in case you were wondering where […]



         


          Terms of Use | Accessibility Privacy