Creating and deploying a Node.js application as a WebJob

JavaScript is one of the most popular programming languages around the world. The strength of Azure lies in the fact that it does not block you from using other, non-native to Microsoft technologies. Before we start, you have to remember one important piece of information.

The way in which the runtime executes WebJobs requires you to follow a specific convention. When searching for a job, the runtime will search for a file named run.{job_type}, where job_type is an extension representing a particular programming language (such as .js and .py). If that fails, it will try to find any file with a specific extension. If that also fails, a job will be skipped.

Here is a really simple code ...

Get Hands-On Azure for Developers 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.