简体   繁体   English

将Azure Functions项目迁移到Durable Azure Functions

[英]Migrating an Azure Functions project to Durable Azure Functions

Trying to convert my Azure Function project to use Durable Azure Functions . 尝试将我的Azure功能项目转换为使用持久Azure功能 I added the E1_HelloSequence sample class to my project, but the durable function never shows up as one of the Http functions listed when the Azure function runtime starts locally. 我将E1_HelloSequence示例类添加到我的项目中,但持久性函数从未显示为Azure函数运行时本地启动时列出的Http函数之一。 Any one able to provide some guidance ? 任何人都能提供一些指导吗?

The DurableTaskExtension is initiated ... and the DurableFunction (HelloSequence) is listed ... but not listed as an Http Function: DurableTaskExtension已启动...并且列出了DurableFunction(HelloSequence)...但未列为Http函数: 在此输入图像描述

That's because they are not HTTP functions, they are rather triggered by queue messages behind the scenes. 那是因为它们不是HTTP函数,而是由幕后的队列消息触发。

There are some webhooks on Durable Function extension level on top of that, which you can use: HTTP APIs doc describes that in more details. 在Durable Function扩展级别上有一些webhooks,您可以使用它们: HTTP API doc更详细地描述了这一点。

Have a look at HttpSyncStart sample to see how to add a custom HTTP endpoint on top of your orchestration. 查看HttpSyncStart示例 ,了解如何在HttpSyncStart流程顶部添加自定义HTTP端点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM