MVC Framework Beta

    The following new features have been added:

    * New "Add View" menu in Visual Studio
    * Folder \ Scripts and jQuery support
    * Built-in Model Binder support for complex types
    * Model Binder infrastructure has been rebuilt
    * Improved UpdateModel and TryUpdateModel methods
    * Improved testing of UpdateModel and TryUpdateModel scripts
    * Typified attribute AcceptVerbs. Added the HttpVerbs enumeration.
    * Improved default error messages during validation
    * Modified some helper methods. Changed form creation. Methods have become extension methods of the HtmlHelper class.
    * Project support with Silverlight 2
    * ASP.NET MVC Futures build available for this beta
    * Support for placing assemblies in the GAC

    Download beta . In more detail, as always with ScottGu .


    To switch from preview 5 to beta, you must perform the following steps:

    1. Update the links in the project to the following assemblies:
    System.Web.Abstractions.dll
    System.Web.Routing.dll
    System.Web.Mvc.dll
    By default, these assemblies are located here:
    % ProgramFiles% \ Microsoft ASP.NET \ ASP.NET MVC Beta
    Download ASP.NET MVC Futures and update the link to Microsoft.Web.Mvc.dll.

    2. In Web.config, in the namespaces section, add the following, if not already added:
    [<] add namespace = "System.Web.Mvc.Html" [/>]

    3. Rename the Form helper to BeginForm.

    4. In conclusion, compile the project after these changes and fix everything that is changed by this release.

    PS:
    ScottGu also mentioned the future of Web Forms: ".NET 4.0 will add rich features for URL routing, improved support for HTML css markup, full control on the ClientId property, more AJAX features."

    Also popular now: