Bundling and minification improves the speed and rendering performance of any web application. Bundling combines multiple JavaScript or CSS files into a single file where Minification reduces the size of the JavaScript or CSS file by removing white space and commented code without altering functionality. This not only reduces the number of requests to the server, also reduces the size of data transfer from the server to the browser. Both the techniques when used together can help in improving the performance of your web app. Bundling and minification can be done at design time and also at runtime. This post talks about 6 tools for bundling and minification in ASP.NET Core. Read More
Tag: Gulp
Gulp is no longer the default choice for ASP.NET Core
Today when you create an ASP.NET Core application, you will find “gulpfile.js” present in your project structure (At the time of writing this post with RC2 release). However Microsoft is making a move with task runner and Gulp is no longer the default choice for ASP.NET Core application in a future release. It’s time to say “Goodbye Gulp“. And it is replaced with a new VS extension called BundlerMinifier. Gulp will be removed from default ASP.NET Core project template, but if you wish to use then, you can add it back. Earlier, an announcement was made about Project.json going away and now its turn for Gulp.
Read More
How to run gulp tasks synchronously
As mentioned in my earlier post Gulp js interview questions, Gulp tasks are asynchronous. Which means that we are not sure about sequence of gulp tasks execution while chaining multiple tasks. And if you have used Grunt then it’s a tricky situation to handle for you as Grunt tasks are synchronous by design. So in this post, find how to run gulp tasks synchronously.
Read More
Gulp js interview questions for beginners
Gulp is gaining popularity and it has become part of every web application these days. In this post, find list of latest and updated gulp js interview questions and their answers for freshers as well as experienced users. These interview questions will help you to prepare for the interviews, for quick revision and provide strength to your technical skills.
Read More