Developing ASP.NET MVC Web Applications — Question 127

You are developing an ASP.NET Core MVC web application.
You write a GULP task to automatically minify and upload JavaScript, CSS, and image files to Microsoft Azure CDN.
You need to ensure that the minification and upload tasks run automatically after every build in Microsoft Visual Studio Professional.
Which tool should you use?

Answer options

Correct answer: E

Explanation

The correct answer is E, as Task Runner Explorer allows you to bind GULP tasks to specific events such as 'After Build', ensuring that your minification and upload tasks run automatically. The other options do not provide the same functionality for executing tasks post-build, making them unsuitable for this requirement.