How to Bundle and Minify ASP.NET MVC

Bundling and Minifying ASP.NET is a powerful feature to help optimize your website and save expenses on bandwidth. It helps you download of the same type using one request instead of multiple request and it takes less requests than requesting all files separately.

In ASP.NET MVC 4, you can find BundleConfig.cs file under App_Start folder. This file has the BundleConfig class which contains one method – the RegisterBundles(). With this method, files that must be downloaded with one request are added to the bundles.

Bundling is a powerful tool which lets you optimize your web page. However, it has its own limits and tricks that you must know to use it successfully.

Read the rest of the tutorial in ASP.NET blog.

Leave a Reply

Your email address will not be published. Required fields are marked *