如何在 Azure Webjob 3.0 中启用 "Run function" 或 "Replay function"?

How to enable "Run function" or "Replay function" in Azure Webjob 3.0?

我在 Azure 上有一些带有 QueueTrigger 的连续 webjobs 3.0。我想在 Azure 仪表板中启用 "Run function" 和 "Replay Function"。

我该怎么做?

谢谢

这是 webjobs 3.x 以后的已知问题。检查这个 issue comment and this comment.

所以从 WebJobs SDK 3.x 开始,AddDashboardLogging() 实际上已经过时了,它应该被删除,但是看起来你忘了删除它。

如果你坚持要这个功能,假设你必须使用webjob 2.x版本,我测试v2可以实现这个功能。