Logo

Maarten Balliauw {blog}

ASP.NET, ASP.NET MVC, Azure, PHP, OpenXML, VSTS, ...

About the author

Maarten Balliauw is currently employed as .NET Technical Consultant at RealDolmen. His interests are mainly web applications developed in ASP.NET (C#) or PHP and the Windows Azure cloud platform.
More about me More about me
Send mail E-mail me


ASP.NET MVC Quickly Subscribe to my RSS feed Follow me on Twitter! View Maarten Balliauw's profile on LinkedIn
View Maarten Balliauw's MVP profile

Search

Latest Twitter

    Follow me on Twitter...

    My projects

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright Maarten Balliauw 2010

    ASP.NET MVC framework preview 3 released!

    Don't know how I do it, but I think this blog post is yet again the first one out there mentioning a new release of the ASP.NET framework (preview 3) Cool

    The official installation package can be downloaded from the Microsoft site. Source code is also available from CodePlex.

    Update instructions from preview 2 to preview 3 are contained in the download. If you created a project based on the "preview-preview" version, here's what you'll have to update:

    • Controller
      The return of a controller action is no longer returned using RenderView(...), but View(...). Alternative return values are View (returns a ViewResult instance), Redirect (redirects to the specified URL and returns a RedirectResult instance), RedirectToAction, RedirectToRoute, Json (returns a JsonResult instance) and Content (which sends text content to the response and returns a ContentResult instance)
    • View
      I had to update my ViewData calls as the ViewData property of ViewPage<T> is no longer replaced by T. Instead, you'll have to access your model trough ViewData.Model (where Model is of T).
    • Routing
      Routes can now be created using the RouteCollection's extension method "MapRoute". Also, a new constraint has been added to routing where you can allow/disallow specific HTTP methods (i.e. no GET).
    • Version of assemblies
      The versions of the System.Web.Abstractions and System.Web.Routing assemblies that are included with the MVC project template have been changed to version 0.0.0.0 to make sure no conflict occurs with the latest .NET Framework 3.5 SP1 Beta release.

    kick it on DotNetKicks.com


    Categories: ASP.NET | C# | General | MVC | Projects | Software

    Comments

    cowgaR Slovakia | Reply

    Friday, May 30, 2008 11:05 AM

    cowgaR

    great blog mate, just found it out...nice quick up to the point preview 3 summary btw

    more kicks to you bro, many interesting things...

    Todi | Reply

    Wednesday, June 04, 2008 10:12 AM

    Todi

    Well, to be fair, I think ScottGu was first, but then again he usually has some inside information.. weblogs.asp.net/.../...-mvc-preview-3-release.aspx

    Add comment




      Country flag

    biuquote
    • Comment
    • Preview
    Loading