Running tasks

Just because we are now working in C# it does not mean we do not have any frontend worries anymore. We still need to minify, bundle, Browserify, and many more. We can handle minification and bundling in .NET. For Browserify, we will need Gulp again. First, take a look at the bundleconfig.json file. It contains some bundling and minification information that is handled by .NET:

// Configure bundling and minification for the project.// More info at https://go.microsoft.com/fwlink/?LinkId=808241[   {      "outputFileName": "wwwroot/css/site.min.css",      // An array of relative input file paths. Globbing patterns supported      "inputFiles": [         "wwwroot/css/site.css"      ]   },   [...]]

To get this to work, we first need to install the BundlerMinifier.Core ...

Get Continuous Integration, Delivery, and Deployment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.