ASP.NET MVC 2 Released!

It’s that time of year again when the sakura (cherry blossoms) bloom and allergies kick into high gear. When the drive home is no longer shrouded in darkness and when the ASP.NET team releases Software!

sakuraEarlier today we released the RTM of ASP.NET MVC 2 for Visual Studio 2008 SP1. See Scott Guthrie’s announcement about it. For download and install options, visit the ASP.NET MVC Download Page.

Here are a few helpful resources to help you learn more about this release.

My team and I are excited about this release as it adds a lot of great new functionality for those building web applications with ASP.NET MVC. As with ASP.NET MVC 1.0, the community (yes, that’s you people!) were heavily involved in the making of this product via multiple preview releases. So thank you!

What about Visual Studio 2010?

Keep in mind that this release includes project templates for Visual Studio 2008. Visual Studio 2010 RTM will be released fairly soon and that will contain project templates and runtime for ASP.NET MVC 2 RTM in the box.

If you have Visual Studio 2010 RC installed, you’ll find that the installer for ASP.NET MVC 2 RTM is blocked just as it was for ASP.NET MVC 2 RC 2.

To remedy the situation, you just need to uninstall the ASP.NET MVC 2 runtime first, and then run the ASP.NET MVC 2 RTM installer.

I’ve outlined the steps in more detail in a previous blog post describing how to install MVC 2 RC 2 on a machine with Visual Studio 2010 RC. These same steps apply, but switch “RC 2” with “RTM” of course. :)

Again, sorry for the inconvenience. Once Visual Studio 2010 RTM ships, this will all just work.

Source Code! Source Code! Source Code!

As always, the source code, along with our Futures library, is available on CodePlex. For those looking for the Ms-PL package, we will be releasing the source code for System.Web.Mvc.dll very soon.

What’s Next?

I’m glad you asked. While we’ve been very busy getting this release ready, preparing for Mix 10, closing down on ASP.NET 4 and Visual Studio 2010, we’ve still found time to start preliminary planning for ASP.NET MVC 3.

It’s very early and nothing is written in stone yet (of course not, it’d be written in C#), but you can read our rough roadmap that outlines some of the ideas we have for the next version.

What others have said

Requesting Gravatar... Shiju Varghese Mar 11, 2010 9:54 PM
# re: ASP.NET MVC 2 Released!
Congrats Phil, You guys are really rocking.
Requesting Gravatar... Jack Mar 11, 2010 10:04 PM
# re: ASP.NET MVC 2 Released!
That a good news! waiting for MVC2 for long time~~
Requesting Gravatar... Ravi Mar 11, 2010 10:10 PM
# re: ASP.NET MVC 2 Released!
Congrats! Job Well Done..
Requesting Gravatar... lynn Mar 11, 2010 11:33 PM
# re: ASP.NET MVC 2 Released!
Hello Phil, I have been enjoying the v2 work for quite a while. Love working on it with VS2010 RC.

Question: would it be possible to add strong type routed helpers that use func's for ActionLink, BeginForm etc. in v3?

I have worked up my own version of this )I even use the lambda caching from MVC Futures_ and find it very is work with and maintain.
Requesting Gravatar... Christian Metz Mar 11, 2010 11:55 PM
# re: ASP.NET MVC 2 Released!
What about MVC 1.1?
Do I also have to uninstall this runtime if I'd like to use VS 2010?
Requesting Gravatar... ms440 Mar 12, 2010 12:07 AM
# re: ASP.NET MVC 2 Released! Thanks!
Thanks Phil and team!

We're betting on you guys and started development with MVC 2 few months ago. We have July 4th go-live for our project and all components (but NH) must be RTMed.

We won! Thanks.
Requesting Gravatar... Andrei Rinea Mar 12, 2010 1:00 AM
# re: ASP.NET MVC 2 Released!
What are the new things since the last drop?
Requesting Gravatar... Andrei Ignat Mar 12, 2010 1:06 AM
# re: ASP.NET MVC 2 Released!
waiting now for v3 ;-)
Requesting Gravatar... Alexander Mar 12, 2010 2:38 AM
# re: ASP.NET MVC 2 Released!
Hi Phil,

Are you planning to release MVC V3. I belive you making releases too quickly, developers is only beginning to use V1 and now you have V2.
But it's a good to have new version.

Thanks,
Alexander.
Requesting Gravatar... Mark H Mar 12, 2010 5:03 AM
# re: ASP.NET MVC 2 Released!
Is there out of the box for the older preview 2 stuff like createareamanifest, if not how can one make it so!
Requesting Gravatar... Greg B Mar 12, 2010 6:05 AM
# re: ASP.NET MVC 2 Released!
What is the new File Version of the RTM assembly? 2.0.50217.0?
Requesting Gravatar... Prabir Mar 12, 2010 6:23 AM
# re: ASP.NET MVC 2 Released!
v3 roadmap says it will take a runtime dependency on ASP.NET 4 and will ship project templates for Visual Studio 2010.
is mvc2 the last drop for .net 3.5
Requesting Gravatar... Michael Johnson Mar 12, 2010 6:25 AM
# re: ASP.NET MVC 2 Released!
Very awesome! Downloading it now.
Requesting Gravatar... Zach Curtis Mar 12, 2010 6:45 AM
# re: ASP.NET MVC 2 Released!
Nice work! Your team is really producing some great software that makes my life easier. Funny how a good piece of software can affect so many other pieces of software.
Requesting Gravatar... Chad Myers Mar 12, 2010 7:00 AM
# re: ASP.NET MVC 2 Released!
Congrats MVC team, I know this release was long time coming (lotsa hard work). Good job!
Requesting Gravatar... Alec Whittington Mar 12, 2010 7:31 AM
# re: ASP.NET MVC 2 Released!
This is great Phil. Congrats to you and your team. We over at S#arp Architecture are looking forward to adding this to our framework.
Requesting Gravatar... Mario Mar 12, 2010 8:01 AM
# re: ASP.NET MVC 2 Released!
Great news!

The feature that I'm really waiting for is Donut Caching. Any news on that?
Requesting Gravatar... haacked Mar 12, 2010 9:56 AM
# re: ASP.NET MVC 2 Released!
Thanks everyone. Hope you enjoy the release!

@Andrei - the release notes in the download details page shows that
@Alexander - MVC 3 will be out in two weeks. (just kidding!)
@Mark H - look in our MVC Futures library
@Greg B - looks right to me.
@Prabir - Yes, MVC 2 is the last release for .NET 3.5
@Mario - It's under consideration for MVC 3.
Requesting Gravatar... Chris Brandsma Mar 12, 2010 7:45 PM
# re: ASP.NET MVC 2 Released!
I saw a tweet from you today saying that this will be the last MVC release for .net 3.5.

What features in .net 4.0 are going to make the move compelling?
Crazy 'dynamic' tricks up your sleeve?
Requesting Gravatar... Sisirak Mar 13, 2010 6:10 AM
# re: ASP.NET MVC 2 Released!
Congrats Phil & MVC team. Great Job, Well done.
Requesting Gravatar... Nithin Mohan T K Mar 13, 2010 6:30 AM
# re: ASP.NET MVC 2 Released!
Thank you guyz for such an early release. You guyz done such an excellent job..

Congrats to All MVC 2 Team..
Requesting Gravatar... Hennadiy Kurabko Mar 13, 2010 12:27 PM
# re: ASP.NET MVC 2 Released!
What a good news! Excellent! Congratulations to all MVC Team!
Requesting Gravatar... haacked Mar 13, 2010 8:28 PM
# re: ASP.NET MVC 2 Released!
@Chris we already have some crazy dynamic tricks we'll be showing soon. What else it buys us is built in support for features added in .NET 4. For example, MVC 2 doesn't support new data annotations added in .NET 4 because we weren't compiled against .NET 4.

Also, we can do code cleanup for cases where .NET 4 has built in features that we had to implement.
Requesting Gravatar... Bart Plasmeijer Mar 15, 2010 12:39 AM
# re: ASP.NET MVC 2 Released!
Phil,

Visual Studio 2010 Tools will be updated in VC 2010 RTM?
Requesting Gravatar... dervalp Mar 16, 2010 7:58 AM
# re: ASP.NET MVC 2 Released!
Sweeet !! Congrats MVC team for this release...
Requesting Gravatar... comp Mar 18, 2010 12:32 AM
# re: ASP.NET MVC 2 Released!
Is asp.net MVC2 included in .net 4.0 framework or just vs2010?
Requesting Gravatar... Andy Warburton Mar 18, 2010 7:12 AM
# re: ASP.NET MVC 2 Released!
Whoot!
Requesting Gravatar... Peter Kellner Mar 25, 2010 2:35 PM
# re: ASP.NET MVC 2 Released!
Happy to be your photographer anytime. 10% bump in traffic! Thanks :)
Requesting Gravatar... DalSoft Apr 26, 2010 4:34 AM
# re: ASP.NET MVC 2 Released!
Thank you to the MVC team. My favourite MVC 2 feature is being able to add custom templates. I wrote a post just about this feature.
Requesting Gravatar... DalSoft Apr 26, 2010 4:43 AM
# re: ASP.NET MVC 2 Released!
MVC 2 is not included in the .NET 4 framework, but MVC is bin deployable.

I would like to see it in the framework, the only reason I can think of for not doing so is the MVC codebase moves too quickly to be GAC'ed.

What do you have to say?

(will show your gravatar)
Please add 7 and 3 and type the answer here: