Home > DeveloperSection > Interviews > Which method has been introduced in ASP.NET 4.0 to redirect a page permanently?

Posted on    August-28-2014 11:54 PM

 ASP.Net ASP.Net 
Ratings:
 1 Answer(s)
  887  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    August-28-2014 12:00 AM

The RedirectPermanent() method added in ASP.NET 4.0 to redirect a page permanently. The following code snippet is an example of the RedirectPermanent() method:

RedirectPermanent("/path/Aboutus.aspx");


Don't want to miss updates? Please click the below button!

Follow MindStick