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 User Controls
How to disable a button after click in ASP.NET
ASP.NET Session state
How to zip a file or a folder in ASP.NET
How to get current page URL […]

Recommended ASP.NET Examples