Permanent Redirect with HTTP 301

How to properly do a permanent redirect with a HTTP 301.

ASP.NET 4.0 gives us this:

ASP.NET 4.0 adds a new RedirectPermanent helper method that makes it easy to issue HTTP 301 Moved Permanently responses, as in the following example:

RedirectPermanent("/newpath/foroldcontent.aspx");
Advertisements

ASP.NET 4.0 Auto-Start Applications, I can’t wait…

If you have ever dealt with a memory intensive ASP.NET web application you know how valuable this new Auto-Start feature will be.

Some Web applications need to load large amounts of data or perform expensive initialization processing before serving the first request. In earlier versions of ASP.NET, for these situations you had to devise custom approaches to “wake up” an ASP.NET application and then run initialization code during the Application_Load method in the Global.asax file.

A new scalability feature named auto-start that directly addresses this scenario is available when ASP.NET 4.0 runs on IIS 7.5 on Windows Server 2008 R2. The auto-start feature provides a controlled approach for starting up an application pool, initializing an ASP.NET application, and then accepting HTTP requests.

.NET 4.0 – Things to come(WWF 4.0) and go(insert any MS data access strategy)…

In comes the Entity Framework again, maybe , and so goes LINQ to SQL.  I hope Microsoft can figure out its data access strategy.

Kathleen thinks Windows Workflow 4.0 willl be the most important feature:

http://msmvps.com/blogs/kathleen/archive/2009/01/07/the-most-important-feature-of-net-4-0.aspx