Home > Programming > ASP.NET MVC 2 RC is available for download

ASP.NET MVC 2 RC is available for download

January 29th, 2010 Leave a comment Go to comments

These are the features that have been introduced in the ASP.NET MVC 2 Release Candidate release.

ASP.NET MVC validation scripts have been moved to their own file

To help reduce conflicts with other Ajax libraries, the built-in ASP.NET MVC validation scripts are now in a separate JavaScript file.

ASP.NET MVC validation scripts can be included at the top or bottom of a page

The server component that renders the client validation metadata now renders the metadata into a JavaScript variable. This allows the validation scripts to be included either at the top of the page or at the bottom, because the scripts will look for the variable and load the metadata when it is available.

ASP.NET MVC validation scripts support globalization

When the required ASP.NET Ajax globalization scripts are included in a page, the validation logic uses the culture-specific data for data types (such as dates and numbers) when it validates input text. The new Html.GlobalizationScript helper method can be used to render a reference to the globalization script for the current culture.

Html.ValidationSummary helper method can display model-level errors

Instead of always displaying all validation errors, the Html.ValidationSummary helper method has a new option to display only model-level errors. This enables model-level errors to be displayed in the validation summary and field-specific errors next to each field.

T4 templates in Visual Studio generate code that is specific to the target version of the .NET Framework

A new property is available to T4 files from the ASP.NET MVC T4 host that specifies the version of the .NET Framework that is used by the application. This allows T4 templates to generate code and markup that is specific to a version of the .NET Framework. In Visual Studio 2008, the value is always .NET 3.5. In Visual Studio 2010, the value is either .NET 3.5 or .NET 4.

Here’s the download link:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3b537c55-0948-4e6a-bf8c-aa1a78878da0

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • MySpace
  • RSS
  • Technorati
  • Twitter
Categories: Programming Tags: ,
  1. No comments yet.
  1. No trackbacks yet.