Azure 持久函数 "Not Found"

Azure Durable Functions "Not Found"

我正在尝试 运行 Microsoft 持久函数示例。 The article is here。当我 运行 函数项目(C#,Visual Studio)时,它似乎启动正常,CLI 启动,我得到了主机初始化和列出的两个启动 URL。

Http Functions:

        HttpStart: http://localhost:7071/orchestrators/{functionName}

        HttpSyncStart: http://localhost:7071/orchestrators/{functionName}/wait

然而,当我导航到一个函数来启动它时,它告诉我 "Not Found" 例如通过:

http://localhost:7071/orchestrators/E1_HelloSequence

我得到 "Not Found":

[30/05/2018 21:17:40] Executed HTTP request: {
[30/05/2018 21:17:40]   "requestId": "9b82e4b2-c0df-4cf4-a191-ce7d7709d30f",
[30/05/2018 21:17:40]   "method": "GET",
[30/05/2018 21:17:40]   "uri": "/orchestrators/E1_HelloSequence",
[30/05/2018 21:17:40]   "authorizationLevel": "Anonymous",
[30/05/2018 21:17:40]   "status": "NotFound"
[30/05/2018 21:17:40] }

知道为什么这个最基本的示例让我如此头疼吗?我尝试了很多不同的组合,但都无济于事。

您正在发出 GET 请求,而 HttpStart 在示例中被定义为 POST。更改您的请求,或将 GET 添加到 function.json