O'Reilly logo

Pro ASP.NET 4.5 in VB, Fifth Edition by Matthew MacDonald, Adam Freeman, Dan Mabbutt

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 39

image

Managing Scripts and Styles

In this chapter we show you how the ASP.NET bundles feature works. This was new in ASP.NET 4.5 and can simplify the management and maintenance of the script files and style sheets that an application uses. Bundles can also be used to optimize requests that a browser has to make in order to get script files and style sheets. We explain how that optimization is done in detail.

Preparing the Example Project

For this chapter, we created a new project called ClientDev using the Visual Studio ASP.NET Empty Web Application project template. We need some NuGet packages for this chapter, so select Manage NuGet Packages ...

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