.NET Core logging request and responses
Implementing middleware and handling each request before consumed in controller is the best way to do it. Middlewares executions are the previous step of execution...
.NET Core resolving services from Dependency Injection container
Instead of injecting N count of service, (for example: Controller’s ctor), Looks boring. Let’s inject IServiceScopeFactory We can resolve every registered service by creating factory...
DbContext DbSet invoke by type
When you need to get DbSet by using type; This extension would allow dbContext to get entity by type, When you need the load navigation...