O'Reilly logo

ASP.NET MVC 4 in Action: Revised edition of ASP.NET MVC 2 in Action by Foreword by Phil Haack, Jeffrey Palermo, Jimmy Bogard, Eric Hexter, Matthew Hinze, and Jeremy Skinner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Upgrading to ASP.NET MVC 4

 

This chapter covers
  • Switching views based on device
  • Exploring bundling capabilities
  • Removing unnecessary Razor code

 

When upgrading an application to ASP.NET MVC 4, you can take advantage of new framework features like bundling, Razor enhancements, and DisplayModes. This is exactly what we’ll be doing in this chapter: looking at what upgrading to MVC 4 will do for you with regards to adding functionality to your system, deleting code, and easing ongoing maintenance.

Bundling is slick out-of-the-box support for combining and minifying both JavaScript and Cascading Style Sheet (CSS) files, which results in faster page loads. We’ll look at some small but exciting changes to the Razor view engine that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required