How to resolve dependencies in .NET APIs based on current HTTP Request
Say that you have an interface and that you want to specify its concrete class at runtime using the native Dependency Injection engine provided by .NET.
For instance, imagine that you have a .NET API project and that the flag that tells the applicati...
code4it.hashnode.dev6 min read