[docs] Add workflows to .NET client doc#1019
Conversation
Signed-off-by: Hannah Hunter <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1019 +/- ##
=======================================
Coverage 69.45% 69.45%
=======================================
Files 162 162
Lines 5432 5432
Branches 585 585
=======================================
Hits 3773 3773
Misses 1519 1519
Partials 140 140
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Hannah Hunter <[email protected]>
| ```csharp | ||
| var daprClient = new DaprClientBuilder().Build(); | ||
|
|
||
| // Start workflow |
There was a problem hiding this comment.
string instanceId;
string workflowComponentName;
string workflowName;
object input ;
It might be helpful to add all of these above "//Start workflow" to give the user a better idea as to what variable types everything is.
There was a problem hiding this comment.
Don't bother with a CancellationToken cts local variable. Just pass CancellationToken.None directly as the last input of StartWorkflowAsync.
There was a problem hiding this comment.
If we're using CancellationToken.None I'd rather just use the default variable. I worry that this implies that you have to use a CancellationToken instead of having it as optional.
There was a problem hiding this comment.
Oh, good point. In that case, let’s remove both the options variable and the cancellation token.
Signed-off-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter <[email protected]>
* add workflows to client page Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]>
…ity. (#1020) * Workflow Management - Initial Methods (#1003) Initial work for workflows DotNET SDK Signed-off-by: Ryan Lettieri <[email protected]> * Beefed up the workflows example program and added in statestore functionality Signed-off-by: Ryan Lettieri <[email protected]> * Addressing a bunch of review comments Signed-off-by: Ryan Lettieri <[email protected]> * Updates to readme and demo for workflows Signed-off-by: Ryan Lettieri <[email protected]> * Changed webapp to console app Signed-off-by: Ryan Lettieri <[email protected]> * Update DurableTask SDK dependency to get ARM64 compatibility (#1024) * Update DurableTask SDK dependency to get ARM64 compatibility Signed-off-by: Chris Gillum <[email protected]> * Fix issue with gRPC address override behavior Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Remove Web APIs and web dependencies Signed-off-by: Ryan Lettieri <[email protected]> * Renaming WorkflowWebApp to WorkflowConsoleApp Signed-off-by: Ryan Lettieri <[email protected]> * Various updates to the sample app - Replaced DaprClient with WorkflowEngineClient - Removed unused etag logic - Fixed incorrect usage of certain model types - Cleaned up logs and console output - Simplified program loop - Cleaned up console output and added some coloring - Added error handling in the console interactions - Various other tweaks/simplifications/enhancements Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Updates to README and demo http commands Signed-off-by: Ryan Lettieri <[email protected]> * Make README copy/paste-able and some other minor tweaks Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Adding in Paul's devcontainer work Signed-off-by: Ryan Lettieri <[email protected]> * More README touch-ups Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * [docs] Add workflows to .NET client doc (#1019) * add workflows to client page Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Updating workflows readme and example Signed-off-by: Ryan Lettieri <[email protected]> * Fixing README for letting users know which .NET is needed Signed-off-by: Ryan Lettieri <[email protected]> * moving using statements above the namespace Signed-off-by: Ryan Lettieri <[email protected]> --------- Signed-off-by: Ryan Lettieri <[email protected]> Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Hannah Hunter <[email protected]> Co-authored-by: Ryan Lettieri <[email protected]> Co-authored-by: Chris Gillum <[email protected]> Co-authored-by: Hannah Hunter <[email protected]>
* add workflows to client page Signed-off-by: Hannah Hunter <[email protected]>
…ity. (dapr#1020) * Workflow Management - Initial Methods (dapr#1003) Initial work for workflows DotNET SDK Signed-off-by: Ryan Lettieri <[email protected]> * Beefed up the workflows example program and added in statestore functionality Signed-off-by: Ryan Lettieri <[email protected]> * Addressing a bunch of review comments Signed-off-by: Ryan Lettieri <[email protected]> * Updates to readme and demo for workflows Signed-off-by: Ryan Lettieri <[email protected]> * Changed webapp to console app Signed-off-by: Ryan Lettieri <[email protected]> * Update DurableTask SDK dependency to get ARM64 compatibility (dapr#1024) * Update DurableTask SDK dependency to get ARM64 compatibility Signed-off-by: Chris Gillum <[email protected]> * Fix issue with gRPC address override behavior Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Remove Web APIs and web dependencies Signed-off-by: Ryan Lettieri <[email protected]> * Renaming WorkflowWebApp to WorkflowConsoleApp Signed-off-by: Ryan Lettieri <[email protected]> * Various updates to the sample app - Replaced DaprClient with WorkflowEngineClient - Removed unused etag logic - Fixed incorrect usage of certain model types - Cleaned up logs and console output - Simplified program loop - Cleaned up console output and added some coloring - Added error handling in the console interactions - Various other tweaks/simplifications/enhancements Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Updates to README and demo http commands Signed-off-by: Ryan Lettieri <[email protected]> * Make README copy/paste-able and some other minor tweaks Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Adding in Paul's devcontainer work Signed-off-by: Ryan Lettieri <[email protected]> * More README touch-ups Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * [docs] Add workflows to .NET client doc (dapr#1019) * add workflows to client page Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: Ryan Lettieri <[email protected]> * Updating workflows readme and example Signed-off-by: Ryan Lettieri <[email protected]> * Fixing README for letting users know which .NET is needed Signed-off-by: Ryan Lettieri <[email protected]> * moving using statements above the namespace Signed-off-by: Ryan Lettieri <[email protected]> --------- Signed-off-by: Ryan Lettieri <[email protected]> Signed-off-by: Chris Gillum <[email protected]> Signed-off-by: Hannah Hunter <[email protected]> Co-authored-by: Ryan Lettieri <[email protected]> Co-authored-by: Chris Gillum <[email protected]> Co-authored-by: Hannah Hunter <[email protected]>
Signed-off-by: Hannah Hunter [email protected]
Description
Add example of workflow calling to .NET Client doc
Issue reference
PR will close: #1016
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: