I am working on an web application (.net core 5) and trying to replace a singleton dependency. I know, it is possible to replace dependency inside Startup.cs