Clean way of registering services in asp net core 3.1 web api application.
- Add all files like in installers
- In Setup.cs add one line:
services.AddServicesInAssembly(Configuration);
- For registering new services just create new chsarp file that inherits IInstaller.cs and implement it.