title: Access the current HttpContext in ASP.NET Core
body: <p>I need to access current <code>HttpContext</code> in a static method or a utility service.</p>
  
  <p>With classic ASP.NET MVC and <code>System.Web</code>, I would just use <code>HttpContext.Current</code> to access the context statically. But how do I do this in ASP.NET Core?</p>