Structure and order your DI container
Does your Dependency Injection container is one big pile of method calls one after the other?
Are there 50 lines of just AddScoped
, AddTransient
, and so on? Well, let's fix this.
We can utilize extension methods to make an order to that mess!