Scott Gu gave a talk at TechDays 2012 this week (end Feb 2012) and covered a lot of new features being released as part of ASP.NET MVC 4. The talk runs for just over 1 hour and 15 minutes and covers the main highlights currently available in the ASP.NET MVC 4 Beta (22.8MB), currently available for download.
This is yet another round of updates Microsoft is making to one of it’s key frameworks and it was an exciting talk to watch … well for the geeks anyway.
The video can be viewed online, or downloaded, from Channel9.
I’ve placed timings next to each key feature in case you want to skip straight to it.
Demos are included with almost all of the key features discussed.
- Bundling and Minification (5m 25s)
- Improve loading performance of JS and CSS
- Reduce number and size of HTTP requests
- No configuration required, no post build step, just drop files in a directory
- Fully customizable and extensible
- Razor Enhancements (15m 57s)
- URL resolution enhancements
- Conditional attribute elements
- Database Migrations (18m 39s)
- With Entity Framework v4.3
- Web API (35m 56s)
- Building richer apps and more clients
- Calling and generating within application
- Embrace HTTP
- API controller
- REST friendly
- Host Web API within Azure Worker Role
- Mobile Web (1h 1m)
- Adaptive rendering – CSS media queries
- Display modes
- Mobile optimised templates
- Async Support and WebSockets (1h 9m 36s)
- async and await
Once you’ve downloaded the MVC 4 Beta you can get started building and deploying immediately as no updates are required to hosting environments to support any of the new features – which is handy. And the Beta has a go-live license so there are no licensing issues stopping you from deploying outside your development environment.
Some related links:
- Category: Tech