Skip to content

Added C# workflow versioning tutorial#1288

Merged
alicejgibbons merged 11 commits intodapr:release-1.17from
WhitWaldo:wf-versioning
Mar 4, 2026
Merged

Added C# workflow versioning tutorial#1288
alicejgibbons merged 11 commits intodapr:release-1.17from
WhitWaldo:wf-versioning

Conversation

@WhitWaldo
Copy link
Contributor

Description

Added project demonstrating patch and name-based versioning in the .NET SDK.

This is implemented to align with the style used in the Python example though I took the liberty of adding some logging to better demonstrate to the user which path is called when it runs and to explain various aspects of the implementation.

Issue reference

We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1279

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary
  • If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

…ET SDK

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
@WhitWaldo WhitWaldo self-assigned this Feb 14, 2026
@WhitWaldo WhitWaldo requested review from a team as code owners February 14, 2026 19:52
Copy link
Contributor

@alicejgibbons alicejgibbons left a comment

Choose a reason for hiding this comment

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

I prefer the ordering of this example to the python one because as @WhitWaldo rightly points out people would likely patch a workflow first before migrating to a new named version. This version goes in that order which makes more sense from a use case/best practices perspective.

Will let @marcduiker have final review for Dapr university

Copy link
Contributor

@alicejgibbons alicejgibbons left a comment

Choose a reason for hiding this comment

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

Getting there! a few changes for consistency

WhitWaldo and others added 5 commits February 26, 2026 09:39
Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…o the user can step through, uncomment code and by re-running the project, can observe how the execution changes with the new workflow versioning behavior.

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
@WhitWaldo
Copy link
Contributor Author

@alicejgibbons DCO check is bugged and should be ignored. All my commits are signed with the appropriate (and unchanged) email address.

alicejgibbons and others added 3 commits March 4, 2026 11:00
Copy link
Contributor

@marcduiker marcduiker left a comment

Choose a reason for hiding this comment

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

LGTM

@alicejgibbons alicejgibbons changed the base branch from master to release-1.17 March 4, 2026 12:10
@alicejgibbons alicejgibbons merged commit d4b6047 into dapr:release-1.17 Mar 4, 2026
7 checks passed
@WhitWaldo WhitWaldo deleted the wf-versioning branch March 4, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Csharp workflow versioning tutorial

3 participants