The Microsoft ASP.net MVC 4 RC is available for installation via Nuget. The following is a quick look at some of the new features included.
The project templates have been overhauled giving a more modern starting point for web applications. These new templates include adaptive rendering so your default site will be laid out well on your desktop or resize to look good on your mobile.
There are also mobile templates available, JQuery has been bundled with the previous versions of ASP MVC and here Microsoft has continued in that vein including JQuery Mobile with the mobile template.
Another mobile oriented feature is “Display Modes”, using this feature your application can automatically determine which view to return based on the clients browser. This allows desktop users to be served a particular view while mobile users are served another.
A “View Switcher” feature has also been included which can allow the application to treat requests as if they are coming from a different user agent. Convenient if for example users want the choice to view the desktop version of the application on their mobile device.
Also included are,
- Bundling and minification support
- Entity Framework 5 (which includes database migration support, so database schemas can evolve based on code migrations while preserving data),
- The Azure SDK
- ASP.net Web API, for developing HTTP services including RESTful APIs
We looking forward to leveraging these new features in upcoming projects, feel free to let us know your thoughts on the above.
- Back to Blogs