ASP.NET MVC 2 Preview 2 Released

2 minute read
Barb Mosher Zinck avatar

Mid-March we saw the first official release of Microsoft's new ASP.NET MVC (news, site) framework. The alternative to Web Forms when developing ASP.NET applications has been well received and talked about frequently.

Work on ASP.NET MVC 2 started almost immediately and we saw the first preview of that version mid-August. MVC 2 Preview 1 included things like template helpers, areas and built-in support for data annotations.

But that was only the start of the work for ASP.NET MVC 2. And now a second preview has been released with even more functionality such as:

  • Client Side Validation: New support for jQuery validation (here's a good example of this functionality on Pietro Brambati's blog)
  • Areas: Support for areas in a single project
  • Model Validation Providers: The ability to hook in model validation providers other than the default Data Annotations
  • Metadata Providers: The ability to hook in other metadata providers, the default being Data Annotations
  • Visual Studio 2010 Beta 2: A set of HTML code snippets for MVC 2 Preview 2

Along with new features, there were also a number of changes made to existing types and members and a few bug fixes.

Learning Opportunities

The version of ASP.NET MVC 2 Preview 2 that you can download and use now works for Visual Studio 2008 SP1.

To see the Visual Studio 2010 HTML code snippets you'll have to wait for Visual Studio 2010 Beta 2 (MVC will be included in the beta).

Get more details on Phil Haack's blog and the official ASP.NET MVC website.