Skip to content

Commit fbed7dd

Browse files
Merge pull request #284886 from ecfan/dotnet
[Standard[ Change to 'dotnet' for language worker runtime (FUNCTIONS_WORKER_RUNTIME)
2 parents f2e265d + 5f5351d commit fbed7dd

5 files changed

+33
-9
lines changed

articles/logic-apps/azure-arc-enabled-logic-apps-create-deploy-workflows.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ The following example describes a sample Azure Arc-enabled Logic Apps resource d
439439
},
440440
{
441441
"name": "FUNCTIONS_WORKER_RUNTIME",
442-
"value": "node"
442+
"value": "dotnet"
443443
},
444444
{
445445
"name": "AzureWebJobsStorage",
@@ -537,7 +537,7 @@ The following example describes a sample Azure Arc-enabled Logic Apps resource d
537537
},
538538
{
539539
"name": "FUNCTIONS_WORKER_RUNTIME",
540-
"value": "node"
540+
"value": "dotnet"
541541
},
542542
{
543543
"name": "AzureWebJobsStorage",
@@ -575,6 +575,14 @@ The following example describes a sample Azure Arc-enabled Logic Apps resource d
575575
}
576576
```
577577

578+
> [!NOTE]
579+
>
580+
> Previously, the **FUNCTIONS_WORKER_RUNTIME** setting's default value was **`node`**.
581+
> Now, **`dotnet`** is the default value for all new and existing deployed Standard
582+
> logic apps, even for apps that had a different value. This change shouldn't affect
583+
> your workflow's runtime, and everything should work the same way as before. For more
584+
> information, see the [**FUNCTIONS_WORKER_RUNTIME** app setting](edit-app-settings-host-settings.md#reference-local-settings-json).
585+
578586
<a name="include-app-service-plan"></a>
579587

580588
### Include App Service plan with deployment

articles/logic-apps/create-single-tenant-workflows-azure-portal.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ More workflows in your logic app raise the risk of longer load times, which nega
129129

130130
:::image type="content" source="media/create-single-tenant-workflows-azure-portal/create-logic-app-basics.png" alt-text="Screenshot shows Azure portal and page named Create Logic App Workflow Service Plan." lightbox="media/create-single-tenant-workflows-azure-portal/create-logic-app-basics.png":::
131131

132+
> [!NOTE]
133+
>
134+
> By default, the language worker runtime value for your Standard logic app is **`dotnet`**.
135+
> Previously, **`node`** was the default value. However, **`dotnet`** is now the default value
136+
> for all new and existing deployed Standard logic apps, even for apps that had a different value.
137+
> This change shouldn't affect your workflow's runtime, and everything should work the same way
138+
> as before. For more information, see the [**FUNCTIONS_WORKER_RUNTIME** app setting](edit-app-settings-host-settings.md#reference-local-settings-json).
139+
132140
1. When you finish, select **Next: Storage**.
133141

134142
1. On the **Storage** tab, provide the following information about the storage solution and hosting plan to use for your logic app.

articles/logic-apps/create-single-tenant-workflows-visual-studio-code.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ To locally run webhook-based triggers and actions in Visual Studio Code, you nee
624624
"IsEncrypted": false,
625625
"Values": {
626626
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
627-
"FUNCTIONS_WORKER_RUNTIME": "node",
627+
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
628628
"FUNCTIONS_V2_COMPATIBILITY_MODE": "true",
629629
<...>
630630
"Workflows.WebhookRedirectHostUri": "http://xxxXXXXxxxXXX.ngrok.io",
@@ -633,6 +633,14 @@ To locally run webhook-based triggers and actions in Visual Studio Code, you nee
633633
}
634634
```
635635

636+
> [!NOTE]
637+
>
638+
> Previously, the **FUNCTIONS_WORKER_RUNTIME** setting's default value was **`node`**.
639+
> Now, **`dotnet`** is the default value for all new and existing deployed Standard
640+
> logic apps, even for apps that had a different value. This change shouldn't affect
641+
> your workflow's runtime, and everything should work the same way as before. For more
642+
> information, see the [**FUNCTIONS_WORKER_RUNTIME** app setting](edit-app-settings-host-settings.md#reference-local-settings-json).
643+
636644
The first time when you start a local debugging session or run the workflow without debugging, the Azure Logic Apps runtime registers the workflow with the service endpoint and subscribes to that endpoint for notifying the webhook operations. The next time that your workflow runs, the runtime won't register or resubscribe because the subscription registration already exists in local storage.
637645

638646
When you stop the debugging session for a workflow run that uses locally run webhook-based triggers or actions, the existing subscription registrations aren't deleted. To unregister, you have to manually remove or delete the subscription registrations.
@@ -968,7 +976,7 @@ Deployment for the Standard logic app resource requires a hosting plan and prici
968976
"IsEncrypted": false,
969977
"Values": {
970978
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
971-
"FUNCTIONS_WORKER_RUNTIME": "node",
979+
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
972980
"APPINSIGHTS_INSTRUMENTATIONKEY": <instrumentation-key>
973981
}
974982
}
@@ -1237,7 +1245,7 @@ To debug a stateless workflow more easily, you can enable the run history for th
12371245
"IsEncrypted": false,
12381246
"Values": {
12391247
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
1240-
"FUNCTIONS_WORKER_RUNTIME": "node",
1248+
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
12411249
"Workflows.{yourWorkflowName}.OperationOptions": "WithStatelessRunHistory"
12421250
}
12431251
}
@@ -1251,7 +1259,7 @@ To debug a stateless workflow more easily, you can enable the run history for th
12511259
"Values": {
12521260
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=fabrikamstorageacct; \
12531261
AccountKey=<access-key>;EndpointSuffix=core.windows.net",
1254-
"FUNCTIONS_WORKER_RUNTIME": "node",
1262+
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
12551263
"Workflows.{yourWorkflowName}.OperationOptions": "WithStatelessRunHistory"
12561264
}
12571265
}

articles/logic-apps/edit-app-settings-host-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 03/08/2024
8+
ms.date: 08/16/2024
99
ms.custom: fasttrack-edit
1010
---
1111

@@ -55,7 +55,7 @@ App settings in Azure Logic Apps work similarly to app settings in Azure Functio
5555
| Setting | Default value | Description |
5656
|---------|---------------|-------------|
5757
| `AzureWebJobsStorage` | None | Sets the connection string for an Azure storage account. For more information, see [AzureWebJobsStorage](../azure-functions/functions-app-settings.md#azurewebjobsstorage) |
58-
| `FUNCTIONS_WORKER_RUNTIME` | `node` | Sets the language worker runtime to use with your logic app resource and workflows. However, this setting is no longer necessary due to automatically enabled multi-language support. <br><br>For more information, see [FUNCTIONS_WORKER_RUNTIME](../azure-functions/functions-app-settings.md#functions_worker_runtime). |
58+
| `FUNCTIONS_WORKER_RUNTIME` | `dotnet` | Sets the language worker runtime to use with your logic app resource and workflows. However, this setting is no longer necessary due to automatically enabled multi-language support. <br><br>**Note**: Previously, this setting's default value was **`node`**. Now, **`dotnet`** is the default value for all new and existing deployed Standard logic apps, even for apps that had a different different value. This change shouldn't affect your workflow's runtime, and everything should work the same way as before.<br><br>For more information, see [FUNCTIONS_WORKER_RUNTIME](../azure-functions/functions-app-settings.md#functions_worker_runtime). |
5959
| `ServiceProviders.Sftp.FileUploadBufferTimeForTrigger` | `00:00:20` <br>(20 seconds) | Sets the buffer time to ignore files that have a last modified timestamp that's greater than the current time. This setting is useful when large file writes take a long time and avoids fetching data for a partially written file. |
6060
| `ServiceProviders.Sftp.OperationTimeout` | `00:02:00` <br>(2 min) | Sets the time to wait before timing out on any operation. |
6161
| `ServiceProviders.Sftp.ServerAliveInterval` | `00:30:00` <br>(30 min) | Sends a "keep alive" message to keep the SSH connection active if no data exchange with the server happens during the specified period. |

articles/logic-apps/enterprise-integration/create-integration-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Before you can link your integration account to a Standard logic app resource, y
274274
"IsEncrypted": false,
275275
"Values": {
276276
"AzureWebJobStorage": "UseDevelopmentStorage=true",
277-
"FUNCTIONS_WORKER_RUNTIME": "node",
277+
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
278278
"WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL": "https://prod-03.westus.logic.azure.com:443/integrationAccounts/...."
279279
}
280280
}

0 commit comments

Comments
 (0)