Grunt and Uglify Your WebForms with Task Runner Explorer

added by Robert Greyling
10/6/2014 9:06:44 PM

3 Kicks, 115 Views

For years, I’ve been registering scripts and serving them with the ScriptManager in ASP.NET web forms. In recent years, bundling and minification have been added to my toolbox, and I can use them together with ScriptManager to deliver a complete JavaScript experience. In today’s web, delivering JavaScript and CSS with a HttpHandler that ends in AXD isn’t a standard practice. In fact, developers would much rather concatenate and minify their scripts at deployment time. With the introduction of the Task Runner Explorer in Visual Studio, Microsoft has provided a tool that enables this workflow.