On ASP.net MVC, what is the "correct" way to have a controller return a 301 Redirect to an external site?
The various RedirectTo-Function seem to only return either relative links or routes that i have mapped manually, but there is no way to say "Perform a 301 Redirect to http://example.com".
I think I could just set Response.StatusCode or use Response.Redirect, but is that the way it should be done in MVC? Or is there an official "correct way" of performing redirects?
Update: In the meantime, I wrote an ActionResult for that: PermanentRedirectResult