Background services with IHostedService

I would like to present how to make background services in asp.net core with IHostedService.

What is IHostedService

You can use IHostedService to create background tasks in asp.net core projects. I used Quartz.NET to similar purposes in the past. I do not want to compare them because it is not purpose of this article :-). So, if you want to create background task you can do that by implementing IHostedService. It’s very simple 🙂

Continue reading “Background services with IHostedService”