ASP.NET MVC 1.0 Release Candidate 2

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 SP1 still 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.

Technorati Tags:

What others have said

Requesting Gravatar... Chad Moran Mar 03, 2009 7:41 AM
# re: ASP.NET MVC Release Candidate 2
Thanks Phil and the rest of the MVC team. : )
Requesting Gravatar... John Sheehan Mar 03, 2009 7:51 AM
# re: ASP.NET MVC Release Candidate 2
Thanks Phil. Glad to see only minimal changes. Looking forward to RTW!
Requesting Gravatar... Valdis Iljuconoks Mar 03, 2009 8:10 AM
# re: ASP.NET MVC Release Candidate 2
Nice talk @ Summit. Glad to see MVC engine progress against RTM.
Requesting Gravatar... labilbe Mar 03, 2009 8:15 AM
# re: ASP.NET MVC Release Candidate 2
Thank you!
Requesting Gravatar... Jay Smith Mar 03, 2009 8:18 AM
# re: ASP.NET MVC Release Candidate 2
Thanks Phil and team, this is awesome! I really enjoyed your session and glad we can now talk about it ;-).
Requesting Gravatar... Chance Mar 03, 2009 8:26 AM
# re: ASP.NET MVC Release Candidate 2
Thanks Phil! Its really exciting to see it near release.
Requesting Gravatar... mike dopp Mar 03, 2009 9:07 AM
# re: ASP.NET MVC Release Candidate 2
Thanks Phil, Keep up the great work.
Requesting Gravatar... Chris Charabaruk Mar 03, 2009 9:48 AM
# re: ASP.NET MVC Release Candidate 2
Great work!
Requesting Gravatar... Chanva Mar 03, 2009 10:27 AM
# re: ASP.NET MVC Release Candidate 2
So exciting to hear that. It is fast.
Requesting Gravatar... Irfan Syahputra Mar 03, 2009 10:56 AM
# re: ASP.NET MVC Release Candidate 2
Good Work.
Requesting Gravatar... Shiju Varghese Mar 03, 2009 11:24 AM
# re: ASP.NET MVC Release Candidate 2
Thanks a lot for the great work
Requesting Gravatar... Kyrel Mar 03, 2009 1:24 PM
# re: ASP.NET MVC Release Candidate 2
Thank you for your work! Any information on the RTM dates?
Requesting Gravatar... Yash Mar 03, 2009 2:33 PM
# re: ASP.NET MVC Release Candidate 2
Good work Phil, MVC team and thanks ScottGu.
Requesting Gravatar... mh415 Mar 03, 2009 3:09 PM
# re: ASP.NET MVC Release Candidate 2
Is it me, or does the Release Notes download only contain a table of contents?
Requesting Gravatar... mh415 Mar 03, 2009 3:14 PM
# re: ASP.NET MVC Release Candidate 2
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.
Requesting Gravatar... rainbow Mar 03, 2009 5:14 PM
# re: ASP.NET MVC Release Candidate 2
when will be RTM?
Requesting Gravatar... myjunc Mar 03, 2009 5:47 PM
# re: ASP.NET MVC Release Candidate 2
when will be RTM?
Requesting Gravatar... AlexDuggleby Mar 03, 2009 5:50 PM
# re: ASP.NET MVC Release Candidate 2
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."
Requesting Gravatar... C.T. Mar 03, 2009 5:51 PM
# re: ASP.NET MVC Release Candidate 2
i am really waiting for v1.0
Requesting Gravatar... Piers Lawson Mar 03, 2009 8:29 PM
# re: ASP.NET MVC Release Candidate 2
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/
Requesting Gravatar... HB Mar 03, 2009 10:33 PM
# re: ASP.NET MVC Release Candidate 2
Does that mean that PowerCommands works again if you install it after updating MVC? or is it still unavailable?
Requesting Gravatar... Craig Stuntz Mar 03, 2009 10:43 PM
# re: ASP.NET MVC Release Candidate 2
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?
Requesting Gravatar... Lyle Dodge Mar 04, 2009 12:42 AM
# re: ASP.NET MVC Release Candidate 2
Any notes on if this has been tested in the Azure fabric?
Requesting Gravatar... mh415 Mar 04, 2009 1:59 AM
# re: ASP.NET MVC Release Candidate 2
I think we can expect RTM at MIX09.
Requesting Gravatar... Cassio Rogerio Eskelsen Mar 04, 2009 2:17 AM
# re: ASP.NET MVC Release Candidate 2
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
Requesting Gravatar... Amr Elsehemy Mar 04, 2009 3:13 AM
# re: ASP.NET MVC Release Candidate 2
Great News Waiting Release..
Requesting Gravatar... Brian Mar 04, 2009 4:49 AM
# re: ASP.NET MVC Release Candidate 2
Cool - anxiously awaiting the the final release. Mainly b/c I REALLY want VS2008 context-sensitive help (documentation) on the framework.
Requesting Gravatar... haacked Mar 04, 2009 5:31 AM
# re: ASP.NET MVC Release Candidate 2
@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.
Requesting Gravatar... Eric Mar 04, 2009 6:57 AM
# re: ASP.NET MVC Release Candidate 2
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.
Requesting Gravatar... Jack Mar 04, 2009 9:19 AM
# re: ASP.NET MVC Release Candidate 2
oh, no!
Just another RC. I'm waiting for the RTM... ...
Requesting Gravatar... Orif Mar 04, 2009 2:20 PM
# re: ASP.NET MVC Release Candidate 2
Very cool!
We chose MVC for our new web-portal.
Requesting Gravatar... Sergey P. Mar 05, 2009 3:50 AM
# re: ASP.NET MVC Release Candidate 2
Thanks for the new release! I hope we will have RTM very soon :)
Requesting Gravatar... mavstar Mar 05, 2009 7:22 AM
# re: ASP.NET MVC Release Candidate 2
Any breaking changes from the beta version?
Also is there an asynchronous story with MVC?

Thanks for the great framework!
Requesting Gravatar... Blue Lizard Mar 05, 2009 7:45 AM
# re: ASP.NET MVC Release Candidate 2
Sweet! Thanks :)
Requesting Gravatar... mvc Mar 05, 2009 9:25 AM
# re: ASP.NET MVC Release Candidate 2
I hope the RTM will be very stable and perfect
Requesting Gravatar... myjunc Mar 06, 2009 2:11 PM
# re: ASP.NET MVC Release Candidate 2
I hope that in the RTM can use convenient sliverlight and ajax
Requesting Gravatar... Philip Demey Mar 06, 2009 6:38 PM
# re: ASP.NET MVC Release Candidate 2
Looking forward the RTM. Great work!
Requesting Gravatar... trendbender Mar 08, 2009 6:48 PM
# re: ASP.NET MVC Release Candidate 2
great news :)
Requesting Gravatar... Syed Ahmed Mar 08, 2009 11:14 PM
# re: ASP.NET MVC Release Candidate 2
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

Requesting Gravatar... Petr Toman Mar 09, 2009 3:54 PM
# re: ASP.NET MVC Release Candidate 2
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).
Requesting Gravatar... Rafael Izidoro Mar 09, 2009 10:57 PM
# re: ASP.NET MVC Release Candidate 2
this is awesome!!
Requesting Gravatar... mavstar Mar 10, 2009 1:05 PM
# re: ASP.NET MVC Release Candidate 2
"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
Requesting Gravatar... xiaosky Mar 10, 2009 1:32 PM
# re: ASP.NET MVC Release Candidate 2
I'm waiting for the RTM.

Requesting Gravatar... mavstar Mar 10, 2009 1:46 PM
# re: ASP.NET MVC Release Candidate 2
Here is the link to the question on Stackoverflow
stackoverflow.com/.../asp-net-mvc-rc2-checkbox-...
Requesting Gravatar... Joe Mar 11, 2009 2:48 AM
# re: ASP.NET MVC Release Candidate 2
@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
Requesting Gravatar... Joe Mar 11, 2009 2:49 AM
# re: ASP.NET MVC Release Candidate 2
@Joe

Sorry,

joecar at microsoft dot com
Requesting Gravatar... Mario Apr 02, 2009 11:14 PM
# re: ASP.NET MVC Release Candidate 2
Version 1.0 is out!

What do you have to say?

(will show your gravatar)
Please add 1 and 6 and type the answer here: