Scott Guthrie has announced the latest version of ASP.NET MVC in his blog posting, ASP.NET MVC Preview 5 and Form Posting Scenarios. ASP.NET MVC now works with both Visual Studio 2008 and Visual Web Developer 2008 Express SP1 edition.
The newer version includes all of the features in Preview 4, plus assistance for form posting scenarios, including:
- The ability to publish a single action URL and dispatch it differently depending on the HTTP Verb.
- Model Binders that allow rich parameter objects to be constructed from form input values and passed to action methods
- Helper methods that enable incoming form input values to be mapped to existing model object instances within action methods
- Improved support for handling input and validation errors (for example: automatically highlighting bad fields and preserving end-user entered form values when the form is redisplayed to the user)
The blog posting details a step-by-step handling form and input entry scenarios using a MVC model.
You can download the release from ASP.NET MVC CodePlex Preview 5 Installer + Source on Codeplex.