Topshelf and Quartz.NET with dependency injection

In the previous post about Topshelf and Quartz.NET I mentioned that there is a chance to configure the inversion of control container instead of manually pointing which implementation we want to use. In this post, I will explain how to do just that, using a few popular inversion of control┬ácontainers – Ninject and StructureMap. If you prefer any other container, please let me know. I’ll do my best to include it here.

Continue reading Topshelf and Quartz.NET with dependency injection

Scheduled jobs made easy – Topshelf and Quartz.NET

I often work on applications whose sole task is to execute a script at certain time or day. You may approach it in several ways, eg.: Task Scheduler (Windows), SQL Job (if it is a SQL task) or CRON in Linux. You may also write application, which would run in background and execute a script at certain time. The only question is – do you really want do it?

In this post, I would like to introduce other solution to tasks like this. The combination of two frameworks: Topshelf (Windows host) and Quartz.NET (free-for-business company Task Scheduler).

Continue reading Scheduled jobs made easy – Topshelf and Quartz.NET