title: ASP.NET MVC RewritePath from a Controller Action
body: <p>I'm trying to do a url rewrite from within my controller. </p>
  
  <p>I've been able to achieve this from <code>Application_BeginRequest</code> but I require some dependencies at the controller level to make a decision on whether to do the rewrite. </p>
  
  <p>I have tried from the controller, but it doesn't have any effect.</p>
  
  <p>Is is possible to do a url rewrite from the controller? </p>
  
  <p>Note that I need to preserve the original URL. </p>