O'Reilly logo

Pro ASP.NET MVC 4, Fourth Edition by Adam Freeman

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 24

Image

Bundles and Display Modes

In this chapter, we are going to look at two features that the MVC Framework provides to make developing the client-side part of a Web application simpler and easier. The first feature, called bundles, allows us to organize and optimize the CSS and JavaScript files that our views and layouts cause the browser to request from the server. The second feature, display modes, allows us to target different types of devices with different views.

Understanding the Default Script Libraries

Some of the features that we show you in this chapter relate to the management of JavaScript files. When you create an MVC project ...

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