Bundling and Minifying Assets in an ASP.NET Web Pages (Razor) Site

By Microsoft ASP.NET Team|

Bundling and minification are ways to make your site faster. Bundling lets you combine multiple JavaScript (.js) files or multiple cascading style sheet (.css) files so that they can be downloaded as a unit, rather than one at a time. Minification squeezes out whitespace and performs other types of compression to make the downloaded files as small a possible.

Note   The RC release of ASP.NET Web Pages 2 does not support bundling and minification because the package that contains the required elements is not yet available in Microsoft WebMatrix. We apologize for this inconvenience. The package is expected to be available in the final release of ASP.NET Web Pages 2 and WebMatrix 2.

This article was originally created on June 21, 2012

Author Information

Microsoft ASP.NET Team

Microsoft ASP.NET Team – ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.

Comments (0) RSS Feed

Comments are closed.