Hangfire使用

一、安装Hangfire包

 二、数据库连接配置

三、启动仪表盘和服务

四、设置定时任务

services.AddHangfire(x => x.UseSqlServerStorage(() => new SqlConnection(Configuration["ConnStrHangFire"])));

 

原文地址:https://www.cnblogs.com/lacey/p/15419231.html