title: Asp.Net Core HTTPContext and RewritePath
body: <p>I am converting over an old <code>HttpModule</code> into a new <code>MiddleWare</code> and want to know what is the correct way for Rewriting the Path in the <code>MiddleWare</code>.</p>
  
  <p>The old module uses this:                     </p>
  
  <pre><code>context.RewritePath(path, string.Empty, queryPart);
  </code></pre>