azure-docs
azure-docs copied to clipboard
Examples use values 'node' and 'dotnet' for FUNCTIONS_WORKER_RUNTIME
The examples on this page use both values 'node' and 'dotnet' for the FUNCTIONS_WORKER_RUNTIME setting. But it is not explained anywhere, what value to use when.
There has been some confusion in my team that the value 'dotnet' should be used when using a custom connector (see section 'Enable built-in connector authoring'). But it seems all default extensions and custom extensions work just fine when using runtime 'node'.
Using runtime 'dotnet' seems to break using javascript inside a workflow.
Is there any scenario where runtime 'dotnet' should be used?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: cbdd9c30-1bc1-7af6-158d-f65ad23f45b7
- Version Independent ID: c8828014-4369-ead5-2d05-8c3e823fc93e
- Content: Create workflows with single-tenant Azure Logic Apps (Standard) in Visual Studio Code - Azure Logic Apps
- Content Source: articles/logic-apps/create-single-tenant-workflows-visual-studio-code.md
- Service: logic-apps
- GitHub Login: @ecfan
- Microsoft Alias: estfan
@timjansenortec Thank you for your feedback! We will review and update as appropriate.
Hello @timjansenortec - Thanks again for your feedback. The setting should be set to node
if you're using the Inline Code action in your workflow. In all other scenarios, you can set it to dotnet
runtime.
As the next step, we're proceeding to assign this issue to the content author to review further and take the next course of action.
Thanks for your response, but it is still not clear to me. "You can set it to dotnet runtime"...this is pretty vague.
When should runtime 'dotnet' be used? It seems that using 'dotnet' just disables/breaks the 'inline code' action, so why should it ever be used? What does it actually do? What works differently over using runtime 'node'?
@timjansenortec; If your project is extension bundle-based (Node.js), "FUNCTIONS_WORKER_RUNTIME" is set to "node".
If your project is NuGet package-based (.NET), "FUNCTIONS_WORKER_RUNTIME" is set to "dotnet".
However, to use Inline Code Operations, you must have "FUNCTIONS_WORKER_RUNTIME" set to "node".
A doc update will go out early next week.