How to replace BackgroundServices with a lite Hangfire

from blog Just Some Code, | ↗ original
This post is part of my Advent of Code 2022. I like ASP.NET Core BackgroundServices. I’ve used them in one of my client’s projects to run recurring operations outside the main ASP.NET Core API site. Even for small one-time operations, I’ve run them in the same API site. There’s one catch. We have to write our own retrying, multi-threading, and...