Getting ready

We will assume that you've already installed Visual Studio 2015 Community Edition, and that the installer automatically installed Node.js and npm. Here are the two JavaScript files to bundle and minify:

Let's see the code of the first of these two files:

Here is the code of the second:

Get ASP.NET Core MVC 2.0 Cookbook 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.