fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.19k stars 1.56k forks source link

Background Services #780

Closed dicksonkimeu closed 1 year ago

dicksonkimeu commented 2 years ago

Any idea how to add background services ?

iammukeshm commented 1 year ago

Background services are already implemented via Hangfire. You can use the IJobService jobService interface for this. For example, refer to.

https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/b12dfe3aaea4ecc6f8419b0efd297f1543bc127c/src/Infrastructure/Identity/UserService.CreateUpdate.cs#L140