---
title: "Discussion on \"Background processing in .NET Core: Quartz.NET\" | Hashnode"
description: "Discussion on \"Background processing in .NET Core: Quartz.NET\". Background processing in .NET Core: Quartz.NET"
url: "https://hashnode.com/posts/background-processing-in-net-core-quartznet-1/614252a49c949972b85c7798"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Background processing in .NET Core: Quartz.NET](https://bogdanbujdea.dev/background-processing-in-net-core-quartznet-1?utm_source=hashnode&utm_medium=feed)

Background processing in .NET Core: Quartz.NET

Sep 15, 2021 · 6 min read · bogdanbujdea.dev  
Read the article

-   [#net](https://hashnode.com/tag/net)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Bogdan Bujdea](https://hashnode.com/@bogdan)

@bogdan · Iasi, Romania

  
[View profile](https://hashnode.com/@bogdan)

.NET Developer

Expert generalist • Independent Contractor • Microsoft MVP • Home Assistant enthusiast Hi there! I'm Bogdan Bujdea, a software developer from Romania. I'm currently a .NET independent contractor, and in my free time I get involved in the local .NET community or I'm co-organizing the @dotnetdays conference. I consider myself an expert generalist, mostly because I enjoy trying out new stuff whenever I get the chance and I get bored pretty easily, so on this blog you'll see me posting content from programming tutorials to playing with my smart gadgets.

## Responses 2

Markdown supported · ⌘↵ to post

[Marko Lahma](https://hashnode.com/@lahma)

[Sep 29, 2021](https://hashnode.com/posts/background-processing-in-net-core-quartznet-1/614252a49c949972b85c7798/comment/615401ea414f78089df3bf0c)

Thanks for the write-up, a very interesting read!

Things that might reduce magic strings when using Quartz is using the typed configuration builders. There are integrations for [ASP.NET Core](https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/aspnet-core-integration.html) and [Hosted Services](https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/hosted-services-integration.html) which both give you the configuration API which is documented quite well in [MS DI Integration documentation](https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/microsoft-di-integration.html) . These actually utilize [SchedulerBuilder](https://github.com/quartznet/quartznet/blob/main/src/Quartz/SchedulerBuilder.cs) from the core Quartz library so the strongly-typed builder for scheduler is available to without these dependencies too.

There's no built-in dashboard like you've stated, but there are options like [SilkierQuartz](https://github.com/maikebing/SilkierQuartz) if you want to plugin something.

[Fabien M](https://hashnode.com/@fabienm)

[Sep 16, 2021](https://hashnode.com/posts/background-processing-in-net-core-quartznet-1/614252a49c949972b85c7798/comment/614308e22d0e2479882a19a9)

Hey Bogdan, Thanks for the nice articles! In the end did your team consider K8s CronJobs? For similar reasons to yours: db perf, I don't want to use Hangfire anymore, but also to keep the overall architecture simpler. Since we will anyway run in K8s, we consider using K8s CronJobs. The idea would be to call an HTTP endpoint, for ex: /jobs/doSomeLongRunningStuff Since it's not a good practice to have long running HTTP calls, it would simply enqueue a message. Later on, this would be dequeued and processed. Basically we trade the DB for the message queue.

[Bogdan Bujdea](https://hashnode.com/@bogdan)

[Sep 16, 2021](https://hashnode.com/posts/background-processing-in-net-core-quartznet-1/614252a49c949972b85c7798/comment/614308e22d0e2479882a19a9#reply-61432c83dbe60379639afc5c)

Hey Fabien! Yes, at the company where I worked with Hangfire, we replaced it with K8s CronJobs. Worked like a charm and I strongly advise to do the same :)
