ASP.NET MVC Beta Released!

ASP.NET MVC Beta has just been released and it comes with a Go-Live license that allows you to deploy ASP.NET MVC applications in production environments. Scott Guthrie and Phil Haack have put out two excellent blogs, explaining new features and improvements in the beta version.

Upgrading from CodePlex Preview 5 to Beta

There are not many changes between ASP.NET MVC Preview 5 and Beta. However, you will need to make a few changes to your applications after you install the Beta release. Most of these changes are apparent when you try to compile your application by using the latest binaries, so we do not list every possible change. The compiler will guide you there. The following list describes some of the changes that you must make.

· Update the references to the following assemblies to point to the new Beta versions of the assemblies:

System.Web.Abstractions.dll

System.Web.Routing.dll

System.Web.Mvc.dll

By default, these assemblies are located in the following folder:

%ProgramFiles%\Microsoft ASP.NET\ASP.NET MVC Beta

· In the Web.config namespaces section, add the following namespace entry if it is not there already:

<add namespace="System.Web.Mvc.Html"/>

· The Form HTML helper was renamed to BeginForm.

· After you have made these changes, compile your application and resolve any compilation errors. Most of the errors will be the result of one of the breaking changes listed earlier.