Hacker News new | ask | show | jobs
by hudo 3058 days ago
Usage of IHttpContextAccessor is official way on hot to access httpcontext. They (ms team) probably have a good reason why to expose IHttpContextAccessor and not httpContext directly.