-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Description
Add Durable Task Scheduler (preview) to the following list that shows up during Function project creation (when Durable Orchestration is picked)
This would require associated updates to the local.settings.json and host.json file.
local.settings.jsonneeds to have these two environment variables
"DURABLE_TASK_SCHEDULER_CONNECTION_STRING": "Endpoint=http://localhost:<port number>;Authentication=None",
"TASKHUB_NAME": "default"
host.jsonneeds to have storage provider typeazureManagedand task hub name:
"durableTask": {
"hubName": "%TASKHUB_NAME%",
"storageProvider": {
"type": "azureManaged",
"connectionStringName": "DURABLE_TASK_SCHEDULER_CONNECTION_STRING"
}
}
- For .NET users, the following package needs to be added to
.csprojwhen Durable Task Scheduler (preview) is picked:
Microsoft.Azure.Functions.Worker.Extensions.DurableTask.AzureManaged
For non .NET users, the following version of preview bundles is needed (specified in host.json)
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
"version": "[4.29.0, 5.0.0)"
}cc @nturinski
MicroFish91
