ASP.NET MVC 4 Beta brings with it a bunch of great new features and capabilities, and works with Visual Studio 2010 and .NET 4.0, and is side-by-side compatible with prior releases of ASP.NET MVC. It also supports a "go-live" license that allows you to build and deploy production apps with it.
The ASP.NET MVC 4 Beta will also be built-into the upcoming Visual Studio 11 / .NET 4.5 beta that is coming out shortly.
Here are some of the features highlights of ASP.NET MVC 4 beta:
- Database Migrations - ASP.NET MVC 4 includes the new Entity Framework 4.3 release, which provides database migration support that enables you to easily evolve your database schema using a code focused migration approach - and do so while preserving the data within your database.
- Mobile Web - Includes new support for building mobile web applications and mobile web sites, and makes it much easier to build experiences that are optimized for phone and tablet experiences. It includes jQuery Mobile, and includes new support for customizing which view templates are used depending upon what type of device is accessing the app.
- Razor Enhancements - MVC 4 includes V2 of Razor View engine. Razor V2 includes a bunch of juicy enhancements that enable you to make your view templates even cleaner and more concise - including better support for resolving URL references and selectively rendering HTML attributes.
- Async Support and WebSockets - You'll be able to take advantage of some additional language and runtime capabilities when using ASP.NET MVC 4 with .NET 4.5 and VS 11. Async support is one of the big ones, and the ASP.NET MVC runtime support for this combined with the new C#/VB async language enhancements (which are super elegant and clean) is going to enable you to write incredibly scalable applications. You will also be able to take advantage of the new WebSocket support built-into .NET 4.5 to build applications with even richer browser/server communication.
Note: "This release doesn't work with the previous VS11 developer preview that shipped last September - if you are using the VS11 Developer Preview (or have it installed) you'll want to wait until the VS 11 beta is released before trying out the new ASP.NET MVC 4 Beta functionality," Microsoft stated.
Download ASP.NET MVC 4 Beta via Microsoft Download Center