我正在尝试使用解释为in their documentation的Global.asax.cs路由在我的ASP.NET应用程序(而不是核心)中连接Hangfire。然而,他们在GlobalConfiguration.Configuration上的扩展方法似乎都不适合我。举个例子,SetDataCompatibiltyLevel()方法扩展了Hangfire.IGlobalConfiguration,而我的GlobalConfigura
我有一个.net web api和控制器,例如,我有一个插入到表中的HomeController和post方法。我想用相同的接口调用HangFire调度器中的HomeController。是否可以通过在同一个api中调度Hangfire来调用rest api (HomeController) post方法。 a.我有带有post方法的HomeCo
正如标题所述,我试图从Hangfire中的背景作业中调用驻留在Singleton实例中的方法。(() => MyApplicatonContext.Instance.TestString());public sealed class MyApplicatonContextinstance.Value; }
public string TestStri