Hi mathius,
Regards.
Gabriel Ostrowsky
https://blogs.southworks.net/gostrowsky
- I wasn't really expecting that you were using Unity. Singleton type registration in Unity is achieved by explicitly setting a parameter of new ContainerControlledLifetimeManager() to the RegisterType() method. Are you registering the types without any parameter? In the following site you may find more detailed information regarding how object's lifetime works with Unity:
Regards.
Gabriel Ostrowsky
https://blogs.southworks.net/gostrowsky