Loading

基于.NetCore和ABP框架如何让Windows服务执行Quartz定时作业

demo地址:ABP.WindowsService

该系列文章启发自 How to: Create a Windows Service that schedules jobs, logs and is configurable by means of dependency injection

阅读优秀的项目源码,是非常值得推崇的学习方式。阅读之后必不可少的步骤是实践。该系列文章预计将有多篇文章。和How to: Create a Windows Service that schedules jobs, logs and is configurable by means of dependency injection 不同甚相同的是,该系列文章将书写大量细节,以尽量探讨正式项目中可能涉及的所有方面,因此预计将有更多篇文章以达成实践的目的。

1、使用Topshelf创建Windows服务
2、在控制台应用程序使用appsettings.json
3、Windows服务使用log4net记录日志
4、Windows服务使用Windsor容器
5、使用Quartz实现定时作业
6、使用log4net记录ABP日志
7、在ABP中灵活使用AutoMapper
8、使用.Net Core CLI命令dotnet new创建自定义模板
9、过滤掉Abp框架不需要记录的日志

posted @ 2019-05-06 18:12  repeatedly  阅读(1723)  评论(0编辑  收藏  举报