When the beta for Visual Studio 2010 (news, site) first came out, it lacked the ability to create ASP.NET MVC applications. This was because Visual Studio was in lock down before MVC 1.0 was released.
Now, says Phil Haack, you can.
ASP.NET MVC Installer for Visual Studio 2010
The Installer, available on CodePlex, says it's for ASP.NET MVC 1.1, but the site points out that it's really MVC 1.0 and the 1.1 is simply a placeholder version number. The point is that this particular MVC installer is built for Visual Studio 2010 beta 1.
There are a couple of known issues:
- Opening a ASP.NET MVC 1.0 project and choosing to upgrade to Visual Studio 2010 project does not re-target the test project to the .Net 4 framework -- you will have to do that manually.
- If you are using Visual Studio Team System 2010 and the Historical debugger, VS may crash on you -- you may have to disable the debugger.
Also available for download are MVC Snippets which take advantage of the new VS2010 Code Snippets capabilities. Visual Studio 2010 includes code snippets for HTML, Jscript and ASP.NET controls by default.
The MVC Installer is only for Beta 1 of Visual Studio 2010. Haack says that an MVC Installer will be included with Beta 2 of Visual Studio 2010 and that it will be for a pre-release of ASP.NET MVC 2.0.
Speaking of MVC 2.0
Haack offers a look into what the roadmap for MVC looks like. The theme for MVC 2.0 is "Improved Productivity and Enterprise Ready", so you should see things like:
- Asynchronous Controller Actions
- Strongly-typed input helpers
- Strongly-typed link helpers
- Support for Data Annotations
- Caching Improvements
In addition, MVC 2.0 will have a dependency on ASP.NET 3.5 SP1 with the next major version after that requiring ASP.NET 4.0.
Subscribe to the RSS feed for the Roadmap as Haack promises to update it as more details and information become available.