title: HttpRuntime.AppDomainAppPath equivalent in ASP.NET Core
body: <p>What is the equivalent of <code>HttpRuntime.AppDomainAppPath</code> in .NET Core? I moved a project from ASP.NET to core, and a few Libraries are not included (Such as <code>System.Web</code>). Here is a small example:</p>
  
  <pre><code>sb.AppendLine("\"New Path\": \"" + newFile.FullName.Replace(HttpRuntime.AppDomainAppPath, "/");
  </code></pre>
  
  <p>Any help would be appreciated, thanks</p>