Search code examples
node.jsazureazure-web-app-serviceazure-webjobssdkazure-queues

Can I use the azure webjobs sdk from a nodejs webapp?


I have a Azure web-app built using NodeJS and wanted to create a webjob triggered by a queue. Looks like this can be achieved using a QueueTrigger from azure-webjobs-sdk.

I have found examples for

  • Defining the webjob in C#
  • Using a NodeJS based webjob defined in C#(I think)

Is it possible to define a Webjob using the SDK from NodeJS code?

P.S. I don't want to run a continous webjob.


Solution

  • The WebJobs SDK is only usable from C# code when writing Azure WebJobs. However, if you use Azure Functions, you get the same functionality as WebJobs for functions written in JavaScript and other languages. You can check out quickstarts and tutorials in the docs here.