title | description | ms.topic | ms.custom | ms.date | zone_pivot_groups |
---|---|---|---|---|---|
Supported languages in Azure Functions |
Learn which languages are supported for developing your Functions in Azure, the support level of the various language versions, and potential end-of-support dates. |
conceptual |
devx-track-extended-java, devx-track-js, devx-track-python, devx-track-ts |
08/27/2023 |
programming-languages-set-functions |
This article explains the levels of support offered for your preferred language when using Azure Functions. It also describes strategies for creating functions using languages not natively supported.
[!INCLUDE functions-support-levels]
[!INCLUDE functions-supported-languages]
The following table shows which languages supported by Functions can run on Linux or Windows. It also indicates whether your language supports editing in the Azure portal. The language is based on the Runtime stack option you choose when creating your function app in the Azure portal. This is the same as the --worker-runtime
option when using the func init
command in Azure Functions Core Tools.
Language | Runtime stack | Linux | Windows | In-portal editing |
---|---|---|---|---|
C# (isolated worker model) | .NET | ✓ | ✓ | |
C# (in-process model) | .NET | ✓ | ✓ | |
C# script | .NET | ✓ | ✓ | ✓ |
JavaScript | Node.js | ✓ | ✓ | ✓ |
Python | Python | ✓ | X | ✓ |
Java | Java | ✓ | ✓ | |
PowerShell | PowerShell Core | ✓ | ✓ | ✓ |
TypeScript | Node.js | ✓ | ✓ | |
Go/Rust/other | Custom Handlers | ✓ | ✓ |
For more information on operating system and language support, see Operating system/runtime support.
When in-portal editing isn't available, you must instead develop your functions locally.
Azure Functions provides a guarantee of support for the major versions of supported programming languages. For most languages, there are minor or patch versions released to update a supported major version. Examples of minor or patch versions include such as Python 3.9.1 and Node 14.17. After new minor versions of supported languages become available, the minor versions used by your functions apps are automatically upgraded to these newer minor or patch versions.
Note
Because Azure Functions can remove the support of older minor versions at any time after a new minor version is available, you shouldn't pin your function apps to a specific minor/patch version of a programming language.
Custom handlers are lightweight web servers that receive events from the Azure Functions host. Any language that supports HTTP primitives can implement a custom handler. This means that custom handlers can be used to create functions in languages that aren't officially supported. To learn more, see Azure Functions custom handlers.
Starting with version 2.x, the runtime is designed to offer language extensibility. The JavaScript and Java languages in the 2.x runtime are built with this extensibility.
::: zone pivot="programming-language-python"
This table indicates the ODBC driver support for your Python functions:
Driver version | Python version |
---|---|
ODBC driver 18 | ≥ Python 3.11 |
ODBC driver 17 | ≤ Python 3.10 |
::: zone-end
::: zone pivot="programming-language-csharp"
[!div class="nextstepaction"] .NET isolated worker process reference.
[!div class="nextstepaction"] In-process C# developer reference
::: zone-end ::: zone pivot="programming-language-java"
[!div class="nextstepaction"] Java developer reference ::: zone-end ::: zone pivot="programming-language-javascript,programming-language-typescript" [!div class="nextstepaction"] Node.js developer reference ::: zone-end ::: zone pivot="programming-language-powershell" [!div class="nextstepaction"] PowerShell developer reference ::: zone-end ::: zone pivot="programming-language-python" [!div class="nextstepaction"] Python developer reference ::: zone-end