Fantastic! A new version of the ASP.NET MVC framework was released on CodePlex today. This new version of ASP.NET MVC includes support for error handling, authorization, caching, and Ajax.
You can download this release at:
Scott Guthrie has a detailed blog entry on the features of this release. You can read the first part of his two part series here:
You should also look at Phil Haack’s blog entry on the new release:
The CodePlex Preview 4 release includes several important new features including:
· HandleError Action Filter – Simply by adding the HandleError attribute to any controller action (or controller class), you can redirect to a custom error view whenever an exception is raised.
· OutputCache Action Filter – Simply by adding the OutputCache attribute to any controller action, you can cache the output of the action.
· Authorize Action Filter – Simply by adding the Authorize attribute to any controller action, you can control who can call an action. For example, you can restrict access to a particular controller action by user or by role.
· AccountController – The Controllers folder includes a new controller named the AccountController. This controller includes Login, Logout, Register, and ChangePassword actions. The sample application uses the AccountController to enable you to log into and log out of the sample website.
· Ajax Helpers – This release of the ASP.NET MVC framework includes two Ajax helpers that you can use when creating a view: Ajax.ActionLink and Ajax.Form. The Ajax.ActionLink helper renders a link that performs an asynchronous request to the server. The Ajax.Form helper performs an asynchronous form post to the server.
Read Scott Guthrie’s blog post for more detailed information on each of these new features: