How to use an interface called IServiceInstaller that you can use to configure Dependency Injections and then automatically read it with a simple line of reflection code
Usually, you will see this error when you run your project from Visual Studio. This error itself says that it's a start failure while running your project from Visual Studio.