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
Leave a Comment