ASP.NET MVC 1.0 Release Candidate 2

asp.net mvc, asp.net 0 comments suggest edit

UPDATE: This post is outdated. ASP.NET MVC 1.0 has been released already!

Today we’ve made the Release Candidate 2 for ASP.NET MVC available for download.

This post will cover some of the changes with ASP.NET MVC we made in response to internal and external feedback since our last Release Candidate.

Let me provide the quick and dirty summary, and then fill in the details.

  • Setup will now require .NET 3.5 SP1
  • Bin deployment to 3.5 host without SP1still possible
  • New server-only install mode

Now onto the details

Setup Requires .NET Framework 3.5 SP1

The new installer will require that .NET Framework 3.5 SP1 be installed on your machine. For your development environment, we recommend that you also install Visual Studio 2008 SP1, but this is not required.

The reason we made this change is that we were including the System.Web.Routing.dll and System.Web.Abstractions.dll assemblies with the MVC installer. However, it does not make sense for us to co-ship assemblies which are part of the Framework as this would negatively affect our ability to service these two assemblies.

Bin deployment to 3.5 host without SP1 Still Possible

We are not taking a runtime dependency on SP1 other than our existing dependency on System.Web.Routing.dll and System.Web.Abstractions.dll. Thus you can still bin deploy your application to a hosting provider who has .NET 3.5 installed without SP1 by following these instructions.

Note that in such a configuration, you take on the risk of servicing those assemblies. Should we release any important updates to any of these assemblies, you’ll have to manually patch your application. However, you will still enjoy full CSS (formerly PSS) support for this configuration.

New Server-Only Install Mode

We’re adding an option to the installer that enables installing on a server that does not have Visual Studio at all on the machine, which is useful for production servers and hosting providers.

The installer will no longer block on a machine that does not have Visual Studio installed. Instead, it will continue the standard MVC installation without installing the Visual Studio templates. The assemblies will still be installed into the GAC and native images will also be generated.

Certain other requirements have also been relaxed. For example, if the machine on which the installation is performed contains Visual Web Developer Express Edition 2008 without SP1, the installation will still proceed, but with a warning prompt. You can also automate this installation by invoking the installer using the command line (all on one line):

msiexec /i AspNetMvc-setup.msi /q /l*v .\mvc.log MVC_SERVER_INSTALL="YES"

Summary

As a result of these changes, we realized it would be prudent to have one more public release candidate. As I mentioned, there are very few runtime and tooling changes. Most of the changes are in the installer and we want to make sure that the installer is rock solid before we call it an RTM.

Based on all your feedback from the first Release Candidate, as well as our own investigations and testing, we are confident that the Release Candidate 2 will be solid and lead to a strong RTM.

In case you missed it above, here’s the link to the download page. You can find out what else has changed in the RC 2 release notes.

And before I forget, as usual, we published the source code and our MvcFutures assembly on CodePlex.

Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.

Comments

avatar

47 responses

  1. Avatar for Chad Moran
    Chad Moran March 3rd, 2009

    Thanks Phil and the rest of the MVC team. : )

  2. Avatar for John Sheehan
    John Sheehan March 3rd, 2009

    Thanks Phil. Glad to see only minimal changes. Looking forward to RTW!

  3. Avatar for wałdis iljuczonok
    wałdis iljuczonok March 3rd, 2009

    Nice talk @ Summit. Glad to see MVC engine progress against RTM.

  4. Avatar for labilbe
    labilbe March 3rd, 2009

    Thank you!

  5. Avatar for Jay Smith
    Jay Smith March 3rd, 2009

    Thanks Phil and team, this is awesome! I really enjoyed your session and glad we can now talk about it ;-).

  6. Avatar for Chance
    Chance March 3rd, 2009

    Thanks Phil! Its really exciting to see it near release.

  7. Avatar for mike dopp
    mike dopp March 3rd, 2009

    Thanks Phil, Keep up the great work.

  8. Avatar for Chris Charabaruk
    Chris Charabaruk March 3rd, 2009

    Great work!

  9. Avatar for Chanva
    Chanva March 3rd, 2009

    So exciting to hear that. It is fast.

  10. Avatar for Irfan Syahputra
    Irfan Syahputra March 3rd, 2009

    Good Work.

  11. Avatar for Shiju Varghese
    Shiju Varghese March 3rd, 2009

    Thanks a lot for the great work

  12. Avatar for Kyrel
    Kyrel March 3rd, 2009

    Thank you for your work! Any information on the RTM dates?

  13. Avatar for Yash
    Yash March 3rd, 2009

    Good work Phil, MVC team and thanks ScottGu.

  14. Avatar for mh415
    mh415 March 3rd, 2009

    Is it me, or does the Release Notes download only contain a table of contents?

  15. Avatar for mh415
    mh415 March 3rd, 2009

    Phil, any chance you guys could update this download on Jim Nakamura's site? blogs.msdn.com/.../...unning-on-windows-azure.aspx
    It's from back in October and hasn't been updated for the MVC.NET beta, RC1, or of course RC2. I believe Jim got it from you.

  16. Avatar for rainbow
    rainbow March 3rd, 2009

    when will be RTM?

  17. Avatar for myjunc
    myjunc March 3rd, 2009

    when will be RTM?

  18. Avatar for AlexDuggleby
    AlexDuggleby March 3rd, 2009

    Yes!! Can't wait for RTM.
    btw: typo on http://aspnet.codeplex.com/
    "ASP.NET MVC RC 2 is now available for download. As the name suggests this is the source code for the ASP.NET MVC RC >>>1<<< release."

  19. Avatar for C.T.
    C.T. March 3rd, 2009

    i am really waiting for v1.0

  20. Avatar for Piers Lawson
    Piers Lawson March 3rd, 2009

    Good news... hopefully the final version will come around soon. In the meantime I'll update my series on using MVC to create a RESTful web service http://shouldersofgiants.co.uk/blog/

  21. Avatar for HB
    HB March 3rd, 2009

    Does that mean that PowerCommands works again if you install it after updating MVC? or is it still unavailable?

  22. Avatar for Craig Stuntz
    Craig Stuntz March 3rd, 2009

    Thanks for the new release!
    From the release notes, I see that "jQuery 1.2.6 was replaced with jQuery 1.3.1 in this release." My first thought was, "We're using jQuery 1.3.2; I wonder what that means?"
    So I searched our project and the MVC (RC1) source code for references to the older version, and didn't find any. My initial take is that I don't have to do anything.
    This might be a good thing to spell out in the release notes. What do we need to do when we upgrade jQuery?

  23. Avatar for Lyle Dodge
    Lyle Dodge March 3rd, 2009

    Any notes on if this has been tested in the Azure fabric?

  24. Avatar for mh415
    mh415 March 3rd, 2009

    I think we can expect RTM at MIX09.

  25. Avatar for Cassio Rogerio Eskelsen
    Cassio Rogerio Eskelsen March 3rd, 2009

    Hi Phil!
    Is there any prevision to solve the problem that occurs when a property of a model is declared on another assembly ( weblogs.asp.net/.../...andidate-now-available.aspx )?
    Chers,
    Cassio

  26. Avatar for Amr Elsehemy
    Amr Elsehemy March 4th, 2009

    Great News Waiting Release..

  27. Avatar for Brian
    Brian March 4th, 2009

    Cool - anxiously awaiting the the final release. Mainly b/c I REALLY want VS2008 context-sensitive help (documentation) on the framework.

  28. Avatar for haacked
    haacked March 4th, 2009

    @mh415 I sent Jim an email and asked him to update it.
    @rainbow, @myjunc RTM should be soon, assuming there are no major bugs found with RC 2.
    @AlexDuggleby thanks! I fixed it.
    @HB I think PowerCommands only interferes with the installation, if I remember correctly. So after you install MVC, you should be able to re-enable power commands.\
    @Craig Stuntz Our code doesn't take any dependencies on jQuery. When you upgrade jQuery, you'll need to look at their release notes to find out what changes are necessary. As far as I know, jQuery 1.3.2 is mostly back-compat with 1.2.6.
    @Lyle we do have some minimal test suites with Azure and it should work fine. If it crashes for you, there's a CLR hotfix available.
    @Cassio, I think we fixed that. Let us know if it still fails.

  29. Avatar for Eric
    Eric March 4th, 2009

    Regarding jQuery: I just replaced the 1.2.6 version in a project with 1.3.2 and everything still worked, so you might want to try that as well. It's probably mainly bugfixes, optimisation (selectors are faster) and more features.

  30. Avatar for Jack
    Jack March 4th, 2009

    oh, no!
    Just another RC. I'm waiting for the RTM... ...

  31. Avatar for Orif
    Orif March 4th, 2009

    Very cool!
    We chose MVC for our new web-portal.

  32. Avatar for Sergey P.
    Sergey P. March 5th, 2009

    Thanks for the new release! I hope we will have RTM very soon :)

  33. Avatar for mavstar
    mavstar March 5th, 2009

    Any breaking changes from the beta version?
    Also is there an asynchronous story with MVC?
    Thanks for the great framework!

  34. Avatar for Blue Lizard
    Blue Lizard March 5th, 2009

    Sweet! Thanks :)

  35. Avatar for mvc
    mvc March 5th, 2009

    I hope the RTM will be very stable and perfect

  36. Avatar for myjunc
    myjunc March 6th, 2009

    I hope that in the RTM can use convenient sliverlight and ajax

  37. Avatar for Philip Demey
    Philip Demey March 6th, 2009

    Looking forward the RTM. Great work!

  38. Avatar for trendbender
    trendbender March 8th, 2009

    great news :)

  39. Avatar for Syed Ahmed
    Syed Ahmed March 8th, 2009

    Thanks for the RC2.
    I have upgraded my MVC version form RC1 to RC2 and all looks file except the Add View template.
    When I am trying to add a View from the context menu of the controller side it poping up a long list of empty template error list.
    This happen also with the Add New Item window. I am not able to add a strong type or untype View into my solution because of this problem.

    Thanks,
    Syed

  40. Avatar for Petr Toman
    Petr Toman March 9th, 2009

    Good news - thank you! :-)
    I hope RTM will have as many bugs fixed as possible - especially regarding helpers (http://aspnet.codeplex.com/WorkItem/List.aspx).

  41. Avatar for Rafael Izidoro
    Rafael Izidoro March 9th, 2009

    this is awesome!!

  42. Avatar for mavstar
    mavstar March 10th, 2009

    "The CheckBox and RadioButton helpers now restore current values from model state"
    Still seems to be an issue for me here.
    posting problem on stackoverflow

  43. Avatar for xiaosky
    xiaosky March 10th, 2009

    I'm waiting for the RTM.

  44. Avatar for mavstar
    mavstar March 10th, 2009

    Here is the link to the question on Stackoverflow
    stackoverflow.com/.../asp-net-mvc-rc2-checkbox-...

  45. Avatar for Joe
    Joe March 10th, 2009

    @Syed Ahmed
    Can you send me info about your project so that I can investigate what might be going wrong?
    Thanks,
    Joe Cartano | Visual Web Developer
    joecat at microsoft dot com

  46. Avatar for Joe
    Joe March 10th, 2009

    @Joe
    Sorry,
    joecar at microsoft dot com

  47. Avatar for Mario
    Mario April 2nd, 2009

    Version 1.0 is out!