
Public static void RegisterBundles ( BundleCollection bundles ) For more information on bundling, visit It had a BundleConfig that created 2 bundles 1 for JavaScript and 1 for CSS: I took a copy of my existing project and created a new repo for it on GitHub.

This meant I had a single HTTP request for JavaScript and a single HTTP request for CSS. When I deployed to production, Web Optimization minified and concatenated the JavaScript and CSS files. Thanks to the magic of source maps I was able to debug the TypeScript that created the JavaScript files too. When debugging on my own machine Web Optimization served up the full JavaScript and CSS files. I already had a project that used Web Optimization to bundle JavaScript and CSS files. On that basis I decided that I was going to give Gulp first crack. But generally my preference is code over configuration. At present Gulp also has a performance advantage as it does less IO than Grunt - though I understand that's due to change in the future. Grunt is more about configuration, Gulp is more about code. My understanding is that Grunt and Gulp essentially do the same thing (run tasks in JavaScript) but have different approaches. perhaps I could wait until the Betamax vs VHS battles are done? Oh never mind, here we go.". By "on my radar" what I really mean is "Hmmmm, I really need to learn this. Gulp has been on my radar for a while now as has Grunt. Perhaps you're even dimly aware that they've been taking steps to make these runners more of a first class citizen in Visual Studio, hence the recent release of the new and groovy Task Runner Explorer. Instead they're looking to make use of JavaScript task runners like Grunt and maybe Gulp. I was watching the ASP.NET Community Standup from October 7th, 2014 and learned that the ASP.Net team is not planning to migrate to the next version of ASP.Net. Also good (although less powerful/magical) has been Microsoft's very own that ships with MVC. Andrew Davey's tremendous Cassette has been really useful.


I've used a number of tools to package up JavaScript and CSS in my web apps. Updated : I've taken the approach discussed in this post a little further - you can see here
