Archive

Posts Tagged ‘MVC’

ASP.NET MVC 2 Released

March 12th, 2010 No comments

Scott Guthrie just announced yesterday that ASP.NET MVC 2 final release is available for VS 2008/Visual Web Developer 2008 Express with ASP.NET 3.5.

ASP.NET MVC 2 Features

  • New Strongly Typed HTML Helpers
  • Enhanced Model Validation support across both server and client
  • Auto-Scaffold UI Helpers with Template Customization
  • Support for splitting up large applications into “Areas”
  • Asynchronous Controllers support that enables long running tasks in parallel
  • Support for rendering sub-sections of a page/site using Html.RenderAction
  • Lots of new helper functions, utilities, and API enhancements
  • Improved Visual Studio tooling support
  • Can run side-by-side with MVC 1 (meaning you can have some apps built with V1 and others built with V2 on the same machine)

If you’re planning to use Visual Studio 2010 or Visual Web Developer 2010, they will have ASP.NET MVC 2 built-in.

Please click here to go to MS’s download page.

ASP.NET MVC 2 RC is available for download

January 29th, 2010 No 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

Categories: Programming Tags: ,

ASP.NET MVC V2 Preview 1 Released

July 31st, 2009 No comments

The ASP.NET team just released the first public preview of ASP.NET MVC Version 2.  You can download it here.

ASP.NET MVC V2 will include a many new capabilities and features (some of these have already been called out on the ASP.NET MVC roadmap page).  “Preview 1” release contains a first look at some of the new features.  Many more features will show up in future preview builds.  The Preview 1 bits are still relatively early – the team is releasing today’s build to start receiving and incorporating feedback.

For more information about this preview, please visit Scott Gu’s blog.

Categories: Technology Tags: ,

ASP.NET MVC Training Kit Available to Download

March 31st, 2009 No comments

The ASP.NET MVC Training Kit includes presentations, hands-on
labs, demos, and event materials. This content is designed to help you
learn how to utilize ASP.NET MVC.

Click here to go to the download page from Microsoft.

Categories: Technology Tags: , ,