
.NET Core provides IHostedService and BackgroundService for long-running tasks.
Use worker services for:
1. Message processing.
2. Scheduled jobs.
3. Integration tasks.
Deploy as Windows services, Linux daemons, or containerized workers.
Architecture impact: Separating background processing from APIs keeps responsibilities clear and improves scalability.
Reference:
TaskLoco™ — The Sticky Note GOAT