我想从 WPF 桌面应用程序对 Hangfire 作业进行排队。这可能吗?
我目前有一个 api 可以与我们的 Hangfire 服务器通信,但想绕过它直接将后台作业排入队列。以前有人设置过这个吗?我在网上没有看到任何例子。
我想你正在追寻
BackgroundJob.Enqueue()
https://docs.hangfire.io/en/latest/background-methods/calling-methods-in-background.html