Skip to content

.NET: Durable Agent samples and automated validation for non-Azure Functions - #3042

Merged
Chris Gillum (cgillum) merged 20 commits into
microsoft:mainfrom
cgillum:cgillum/durable-agent-standalone
Jan 20, 2026
Merged

.NET: Durable Agent samples and automated validation for non-Azure Functions#3042
Chris Gillum (cgillum) merged 20 commits into
microsoft:mainfrom
cgillum:cgillum/durable-agent-standalone

Conversation

@cgillum

@cgillumChris Gillum (cgillum) commented Dec 27, 2025

Copy link
Copy Markdown
Member

Motivation and Context

Durable Agents are intended to be available both in Azure Functions and non-Azure Functions contexts. The capability already exists for .NET, but no docs or samples have been created yet.

Description

This PR adds samples showing how to implement the various durable agent scenarios as simple console apps. No Azure Functions is required. Instead, apps use the Durable Task Scheduler directly.

All Azure Functions samples have been converted into their equivalent non-Azure Functions console apps with the exception of the MCP sample, which requires features specific to Azure Functions.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@markwallace-microsoftMark Wallace (markwallace-microsoft) added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net labels Dec 27, 2025
@github-actionsgithub-actionsBot changed the title Durable Agent samples and automated validation for non-Azure Functions.NET: Durable Agent samples and automated validation for non-Azure FunctionsDec 27, 2025

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Comment threaddotnet/samples/DurableAgents/ConsoleApps/07_ReliableStreaming/Program.cs Outdated
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationUsage: [Issues, PRs], Target: documentation in the code base and learn docs.NETUsage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@cgillum@kshyju@larohra@westey-m@markwallace-microsoft