title: urls like "home.asp" redirect in mvc
body: <p>I need to rebuild a website (in old they use classic ASP but they want to make it now MVC 4) and they dont want to change the urls. for example if the search screen's url is blabla.com/search.asp they want to keep it like this. But mvc doesn't allow to make urls like "search.asp". I want to keep url like this but render search View. Am I need to do this all one by one or there is a dynamic way for it? </p>
  
  <p>for example </p>
  
  <pre><code>requested url = "blabla.com/string variable" 
  if variable.Substring(variable.Length - 4) == ".asp";
  return View("variable.Substring(0, (variable.Length - 4))")
  </code></pre>
  
  <p>Note: Syntax is all wrong, I know. I just tried to explain the condition..</p>
  
  <p>Note2: They want this because of "SEO" things. they don't want to lose their ratings. any method that doesn't change anything for google, they will accept that method I guess.</p>