Reputation: 15676
No Windows Service, no Windows Scheduler, no separate applications required.
Without these tools how is Hangfire able to run background tasks without being tied to ASP.net?
Upvotes: 0
Views: 1790
Reputation: 964
Hangfire has no references to System.Web
or other assemblies related to ASP.NET. All the Hangfire features including the dashboard (web UI) can be used in any application type like console application or Windows service. This is why it is independent of ASP.NET.
Hangfire handles all the risks of running background jobs inside ASP.NET applications, including application restarts (jobs are persisted) and unexpected process terminations (retry logic is used). So you can process background jobs without using Windows Services or separate applications.
Upvotes: 1