Skip to content

Instantly share code, notes, and snippets.

@pparadis

pparadis/redirect.cs

Created Oct 22, 2014
Embed
What would you like to do?
ASP.NET MVC Redirection 307
public ActionResult About()
{
HttpContext.Response.AddHeader("Location", "/Home/Contact");
return new HttpStatusCodeResult(307);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.