NetCore3.1——Hangfire配置
程序员文章站
2023-12-30 18:38:28
...
1,配置appsettings.json
{
"DbBase": {
"SqlServer": {
"TaskConnectionString": "Data Source=SHI\\SHISERVER;Initial Catalog=SthxnTask;uid=sa;pwd=********;Integrated Security=True;"
}
}
}
2,配置Startup
using Hangfire;