301 redirect

How to make 301 redirect in ASP.NET 4.0

ASP.NET 4 adds a new RedirectPermanent helper method that makes it easy to make HTTP 301 Moved Permanently responses:

RedirectPermanent(“/newfile.aspx”);

Related TutorialsASP.NET Performance
How to speed up ASP.NET web site
ASP.NET Code-behind model
How to associate a Label with a TextBox or other Form control in ASP.NET
ASP.NET …

Learn more