Thursday, February 20, 2014

How to add Bundling function into upgraded ASP.NET MVC 4 project?

1. Use nuget to add reference for System.Web.Optimization
Install-Package Microsoft.AspNet.Web.Optimization
2. Add following call into Application_Start event
3. Define your bundle
        public static void RegisterBundles(BundleCollection bundles)
        bundles.Add(new ScriptBundle("~/Scripts/jquery").Include(

Languages ranking from 2013 Stack Overflow User Survey Results