Skip to content

Accessing durable entities within Console Application #1877

Answered by cgillum
ddobric asked this question in Q&A
Discussion options

You must be logged in to vote

The IDurableEntityClient is a binding for the Durable Functions extension of Azure Functions. It's not designed to work with the Durable Task Framework directly. In fact, Durable Entities is only supported in Durable Functions and doesn't have any equivalent in the Durable Task Framework (though we're considering backporting it at some point). It also requires the storage provider to understand how to work with entities, and the DurableTask.ServiceBus dependency that you're using in your example doesn't support entities.

One option you can consider is self-hosting the Azure Functions runtime (specifically, the WebJobs SDK) in a console app. This would allow you to use all the Azure Functi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cgillum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants