title: ASP.NET MVC 6 application's virtual application root path
body: <p>How do I get the virtual root path of the application on the server?</p>
  
  <p>In another words: how can I do the following in ASP.NET MVC 6?</p>
  
  <blockquote>
    <p><a href="https://msdn.microsoft.com/en-us/library/system.web.httprequest.applicationpath%28v=vs.110%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow">HttpContext.Current.Request.ApplicationPath</a></p>
  </blockquote>