我正在尝试运行 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
但是,当我导航到一个函数来启动它时,它告诉我“未找到”,例如通过:
我得到“未找到”:
[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
。
关于c# - Azure 持久功能 "Not Found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50613574/