Posts

Showing posts from January, 2015

Introduction to Bundling and Minification in Asp.net/MVC

Bundling & Minification is a Website Performance Optimization approach provided with asp.net 4.5 version .  It can be added to asp.net 4.0 version too with explicit installation from Nugget Package Manager tool.  Bundling & Minification are two techniques we can use in ASP.NET to improve website load time.   These techniques improve load time by reducing the number of requests to the server and reducing the size of requested resources (CSS, Java Script). Most of the current major browsers limit the number of simultaneous connections per each hostname to six. That means that while six requests are being processed, additional requests for assets on a host will be queued by the browser. Bundling: As mentioned Bundling is a new feature in ASP.NET 4.5 and that can be implemented in ASP.NET 4.0 version as well with the help of System.Web.Optimization framework and that makes it easy to combine or bundle multiple files into a single file. You can create CSS,