UPDATE: This post is a out of date. We recently released the Release Candidate for ASP.NET MVC 3.
Feels like just yesterday that we released ASP.NET MVC 2 to the world and here I am already talking about an early preview. In a way, we’re right on schedule. It was almost exactly a year ago that we released Preview 1 of ASP.NET MVC 2.
- ASP.NET MVC 3 Preview 1 tooling requires Visual Studio 2010
- ASP.NET MVC 3 Preview 1 runtime requires the ASP.NET 4 runtime
As usual, to find out what’s in this release, check out the release notes. Also at the recent MVCConf, a virtual conference about ASP.NET MVC, I recorded a talk that provided a sneak peek at ASP.NET MVC 3 Preview 1. The audio quality isn’t great, but I do demo some of the key new features so be sure to check it out.
So what’s in this release that I’m excited about? Here’s a small sampling:
- Razor View Engine which ScottGu wrote about recently. Note that for Preview 1, we only support the C# version (CSHTML). IN later previews, we will add support for the VB.NET version (VBHTML). Also, Intellisense support for Razor syntax in Visual Studio 2010 will be released later.
- Dependency Injection hooks using service locator interface. Brad Wilson should have a few blog posts on this over the next few days.
- Support for .NET 4 Data Annotation and Validation attributes.
- Add View dialog support for multiple view engines including custom view engines.
- Global Action Filters
In the next few days you should see more details about each of these areas start to show up in various blog posts. I’ll try to keep this blog post updated with relevant blog posts so you can find them all. Enjoy!
- Scott Guthrie has a detailed write-up of what’s new in ASP.NET MVC 3 Preview 1 in his trademarked style.
- Brad Wilson describes Service Location in ASP.NET MVC 3 in his four part series.
- Scott Hanselman recently barged into my office to discuss ASP.NET MVC 3. I was totally unprepared so I sent him to talk to the intern, Morgan, who shares my office while I scrambled. So if you’re interested in watching a schizophrenic video about ASP.NET MVC 3 Preview 1 and the unrelated Sprite Control for ASP.NET, check out this Channel 9 video.
- I recorded a video about ASP.NET MVC 3 Preview 1 for the MVCConf. I’m linking to it again here for convenience.
- Eilon Lipton just posted his ASP.NET MVC 2 to MVC 3 Application Converter
- Jacques Eloff writes about adding custom view templates to a project.