title: Where to place HttpContext.Current.RewritePath in ASP.NET 5?
body: <p>I do development in asp.net. Recently I found out that in <code>asp.net 5</code> there is no <code>Global.asax</code> file.</p>
  <p>One of the thing to put in <code>Global.asax</code> file is URL rewriting.</p>
  <p>With <code>Global.asax</code> file is gone. Where I can place URL rewriting code. I mean I do something like this in <code>ASP.NET 4.0</code></p>
  <pre><code> HttpContext.Current.RewritePath(...);
  </code></pre>
  <p>I do not want to use URL rewriting modules. I just want to do it using <code>HttpContext.Current.RewritePath</code> method.</p>
  <p>My question is where I can put the above code in <code>ASP.NET 5</code>?</p>