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 Session state
What is ASP.NET?
ASP.NET Server-side caching
How to write encoded text on the web page in ASP.NET
How to zip a file or a folder […]

Recommended ASP.NET Examples