.net core 任务调度

有时候需要在后台定时执行一些任务,这里有两种示例: 1、BackgroundService 并且在Startup.cs ConfigureServices方法下配置 services.AddSingleton<Microsoft.Extensions.Hosting.IHostedService,
posted @ 2019-07-09 10:36  SasaL  Views(2231)  Comments(0Edit  收藏  举报