title: Get Current.Request.Url in mvc application having a .aspx extension
body: <p>I have a ASP.NET MVC 3 application in which I have to map a request with .aspx extension to another route. what i am trying to do is to get the current request url in application start. but the problem is it runs fine with all urls without .aspx extension but in a url for ex
  (<a href="http://example.com/Products/5/16/Eettafels.aspx" rel="noreferrer">http://example.com/Products/5/16/Eettafels.aspx</a>) it shows only <a href="http://example.com/" rel="noreferrer">http://example.com/</a></p>
  
  <p>however with <a href="http://example.com/Products/5/16/Eettafels" rel="noreferrer">http://example.com/Products/5/16/Eettafels</a> it shows the correct path ..</p>
  
  <p>All the code is a simple line:</p>
  
  <pre><code>string currentUrl = HttpContext.Current.Request.Url.ToString().ToLower();
  </code></pre>
  
  <p>Can any one have any idea what i am doing wrong</p>