DEV Community

Marc Duiker for Xebia Microsoft Services

Posted on • Originally published at blog.marcduiker.nl on

3 2

Discovering the Durable Functions API - Starting orchestrations (DurableOrchestrationClient part 1)

Methods in DurableOrchestrationClientBase

DurableOrchestrationClient(Base) class - Starting & waiting for completion

This post is the first part of a series of blogs/vlogs to discover the Durable Functions API.

In the video linked below, I’m looking into methods from the DurableOrchestrationClient(Base) class on how to start a new orchestration instance and how to retrieve the status and the result of the instance:

  • StartNewAsync(string orchestratorFunctionName, object input)
  • StartNewAsync(string orchestratorFunctionName, string instanceId, object input)
  • CreateCheckStatusResponse(HttpRequestMessage request, string instanceId)
  • WaitForCompletionOrCreateCheckStatusResponseAsync(HttpRequestMessage request, string instanceId)
  • WaitForCompletionOrCreateCheckStatusResponseAsync(HttpRequestMessage request, string instanceId, TimeSpan timeout)
  • WaitForCompletionOrCreateCheckStatusResponseAsync(HttpRequestMessage request, string instanceId, TimeSpan timeout, TimeSpan retryInterval)

Here’s the video, please give it a thumbs up if you like it and subscribe to my channel so you’ll be notified of new videos:

Resources

Links to other posts in this series

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay