Wriju's BLOG

.NET, Cloud and everything

ASP.NET 4.0 : Avoid Round Trip, use Response.RedirectPermanent

When we use Response.Redirect to move from one page to another we ideally also call HTTP 302 Found. This increases extra trip. Now in Visual Studio 2010 you may write

 

Response.RedirectPermanent("Page1.aspx");

 

Namoskar!!!