Should IHttpContextAccessor be avoided? Getting user information into a DI service
There is a lot of information about using IHttpContextAccessor to inject user information in a DI service. However, there is a warning on this interface that suggests it should be used with caution.