• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
ASP.NET MVC RC 2 Release Notes
 This document describes changes that have been made to the ASP.NET MVCframework since the Release Candidate 1 release. It also describes changes thatyou must make in existing MVC applications to run with the new release.What’s New ................................................................................................................2Servicing .....................................................................................................................2Installation Notes ........................................................................................................2.NET 3.5 SP1 Dependency .......................................................................................2Server Installation ..................................................................................................2GAC Assembly .........................................................................................................3Changes Since RC 1 ....................................................................................................3Anti-Forgery Helpers Support Setting Cookie Path ..................................................3DefaultModelBinder Validation Messages Are Now Localizable ...............................3New ValidationSummary Method Overload Supports Header Message ...................5 jQuery Updated to Version 1.3.1 .............................................................................5Bug Fixes since RC 1 ...................................................................................................5Upgrading from the RC 1 Release to Release Candidate 2 ......................................5Known Installer Issues ................................................................................................6Conflict with Visual Studio Add-Ins ..........................................................................6Cryptographic Services ...........................................................................................7Visual Studio Templates ...........................................................................................7
ASP.NET MVC RC 2 Release NotesPage 1Copyright © 2009 Microsoft Corporation
 
What’s New
ASP.NET MVC RC 2 is the second Release Candidate for the ASP.NET MVC framework.As always, feel free to provide feedback on theASP.NET MVC forums.
Note
Before you run the ASP.NET MVC RC 2 installer, uninstall any earlier pre-release versions of ASP.NET MVC. In addition, close all instances of Visual Studio2008.
Servicing
If you deploy an ASP.NET MVC application that has any Framework assemblies in theBin folder, you must make sure that you update the assemblies if new versions of the assemblies are released (serviced). You must do this individually for everyapplication where the assemblies are in the Bin folder. This is not necessary if applications use the assemblies that are installed in the default location (the GAC).Framework Assemblies in the GAC are automatically updated during servicing byWindows Update.
Installation Notes
.NET 3.5 SP1 Dependency
 The new installer requires that the .NET Framework version 3.5 SP1 be installed onyour machine.Although the installer requires SP1, the runtime does nothave a dependency on SP1other than the existing dependency on
System.Web.Routing.dll
and
System.Web.Abstractions.dll
.Therefore, you can deploy an ASP.NET MVC applicationto a hosting provider that has the .NET Framework 3.5 installed without SP1 byincluding the required assemblies in the application's Bin folder. For informationabout how to deploy an ASP.NET MVC application with assemblies in the Bin folder,see Bin Deploying ASP.NET MVCon Phil Haack’s blog.
Server Installation
ASP.NET MVC RC2 supports an option to perform server installations to computersthat do not have Visual Studio installed. This option installs creates an Ngen image
ASP.NET MVC RC 2 Release NotesPage 2Copyright © 2009 Microsoft Corporation
 
of the
System.Web.Mvc
assembly in the GAC. It does not install any Visual Studiotemplates or tools. To perform this installation, open a Windows command prompt and launch theinstaller by using the following command line (all on one line):
msiexec /i AspNetMVC1-RC2.msi /l*v .\mvc.log MVC_SERVER_INSTALL="YES"
 This command will execute a quiet install (the
/q
option) and create a log file (the
/l*v
option).
GAC Assembly
 The installer installs the ASP.NET MVC assembly (
System.Web.Mvc.dll
) into the GAC. The installer also copies this assembly to the following folder:
%ProgramFiles%\Microsoft ASP.NET\ASP.NET MVC 1.0 RC2\Assemblies\
Changes Since RC 1
Anti-Forgery Helpers Support Setting Cookie Path
 You can now set a cookie path such as “/MyApp” in order to ensure that the anti-forgery cookie is sent with requests only for the /MyApp application. Note that perthe HTTP specification, cookie paths are case sensitive.In addition, the
AppPath
value of the request is now part of the anti-forgery cookiename in order to help prevent collisions with multiple applications running on thesame host server with the same host name.
DefaultModelBinder Validation Messages Are Now Localizable
Prior to this release, two error messages that might be shown to end users were notlocalizable and were not configurable by the developer. The first message is, “Avalue is required”. The second message is used by the
ValidationMessage
helpermethod and is “The value ‘{0}’ is invalid.” These messages are not configurable because the model binder has no opportunityto set the property value or argument value (typically because of a type mismatch),even if it implements
IDataErrorInfo
.
ASP.NET MVC RC 2 Release NotesPage 3Copyright © 2009 Microsoft Corporation
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...