Skip to content
ASP.NET Core MVC6 Lightweight Gulp Template
C# HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

ASP.NET Core MVC6 Lightweight Gulp Template

ASP.NET Core MVC6 Lightweight Gulp Template

When you create a new ASP.NET Core Web Application the default template uses built-in .NET Core bundles mechanism which takes care of JavaScript and CSS files bundling and minification. The same can be achieved using well known Gulp and both have their pros and cons.

Personally, I prefer the Gulp over the built-in .NET Core bundles. My projects usually tend to be JavaScript very rich and it is mostly the JavaScript part that grows a lot. As the development goes by sooner or later you will end up using various gulp plugins such as nunjucks for templates processing and many others. Having it all (the minification and bundling) nicely managed by gulp since the beginning brings more clarity to the project and in my eyes is a way more powerful.

There are alternatives, for example ASP.NET MVC Boilerplate template that uses gulp. Since Boilerplate is quite heavy template I decided to create my own lightweight ASP.NET Core MVC6 Gulp Template.

You can’t perform that action at this time.