You are developing an order processing workflow using Azure Durable Functions in C# (.NET Isolated). You need to write an HTTP-triggered function that acts as the entry point to start the orchestration workflow. Which parameter binding attribute must you use to obtain a client instance for starting the orchestrator?
- [DurableClient]Answer
- B[OrchestrationTrigger]
- C[ActivityTrigger]
- D[QueueTrigger]
Answer
The [DurableClient] attribute must be used to bind the client parameter that starts the orchestration.
The [DurableClient] attribute binds the client parameter (such as DurableTaskClient in .NET Isolated) to the function, enabling it to start new orchestration instances.
Step-by-Step Solution
Key Concept
Durable Functions Client Binding
Estimated Time:45s