简体   繁体   English

如何在IIS上停止Hangfire进程?

[英]How to stop Hangfire process on IIS?

I'm using ASP.NET Zero (MVC 5) v5.0.0 with Hangfire and everything is working well. 我将Hangoutfire与ASP.NET Zero(MVC 5)v5.0.0搭配使用 ,一切运作正常。

As shown in this link , I have setup Hangfire to run as a separate Windows Service. 如该链接所示,我已将Hangfire设置为作为单独的Windows服务运行。

The problem is, I can't seem to stop the Hangfire process on IIS. 问题是,我似乎无法停止IIS上的Hangfire进程。

Normally, one can stop it by commenting out this statement: 通常,可以通过注释掉以下语句来停止它:

// app.UseHangfireServer();

But I can't find the equivalent statement. 但是我找不到等效的陈述。

Using ASP.NET Zero template, is there any way to stop Hangfire process on IIS? 使用ASP.NET Zero模板,有什么方法可以停止IIS上的Hangfire进程吗?

Thanks in advance. 提前致谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM