Functions

A single executable part of Azure Functions that hosts your code is called a function. Each function can execute code written in different supported languages (one can use C#, while another can leverage Python features). The currently supported languages are as follows:

  • C#
  • JavaScript
  • F#

In the second version of runtime (v2), Java should also be available to use.

Please note that, at the time of writing this book, the v1 version is the only one that supports production workloads.

There is also the possibility of using a set of other languages (such as Powershell, PHP, or Batch), but they are in experimental mode and are not to be used in production. Here, you can find an example function with some boilerplate code:

[FunctionName("QueueTrigger")] ...

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.