Skip to content

Document Durable Task Scheduler client integration for Azure Functions#1160

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/add-client-side-integration-docs
Draft

Document Durable Task Scheduler client integration for Azure Functions#1160
Copilot wants to merge 3 commits into
mainfrom
copilot/add-client-side-integration-docs

Conversation

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This updates Azure Functions docs to cover the new Durable Task Scheduler client package introduced upstream, including the public client/worker registration APIs and configuration model. It also links host-side DTS setup guidance to the new client-side wiring documentation.

  • Client integration coverage (azure-functions-connect.mdx)

    • Added a new Durable Task Scheduler client integration section for Aspire.Microsoft.DurableTask.AzureManaged.
    • Documented the client/worker extension surface:
      • AddDurableTaskSchedulerWorker
      • AddKeyedDurableTaskSchedulerWorker
      • AddDurableTaskSchedulerClient
      • AddKeyedDurableTaskSchedulerClient
    • Added guidance on when to use this client integration vs AppHost resource modeling.
    • Included package install block and keyed registration examples.
  • Configuration + operational behavior

    • Documented DurableTaskSchedulerSettings and supported config paths:
      • ConnectionStrings:{connectionName}
      • Aspire:Microsoft:DurableTask:AzureManaged
      • Aspire:Microsoft:DurableTask:AzureManaged:{name}
    • Covered DisableHealthChecks and DisableTracing behavior for health/telemetry control.
  • End-to-end wiring + cross-link

    • Added a minimal AppHost + Program.cs flow showing AddDurableTaskScheduler(...) resource setup and client-side consumption.
    • Added a host-page cross-link from azure-functions-host.mdx DTS section to the new client integration section.
// Program.cs
builder.AddDurableTaskSchedulerWorker("taskhub", worker =>
{
    worker.AddTasks(tasks =>
    {
        tasks.AddOrchestrator<MyOrchestrator>();
        tasks.AddActivity<MyActivity>();
    });
});

// Client-only scenario:
builder.AddDurableTaskSchedulerClient("taskhub");

Copilot AI and others added 2 commits June 2, 2026 02:48
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for client-side integration package in Durable Task Scheduler Document Durable Task Scheduler client integration for Azure Functions Jun 2, 2026
Copilot AI requested a review from IEvangelist June 2, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Durable Task Scheduler: add docs related to new client-side integration package

2 participants