Open jt4000 opened 5 years ago
You could probably break it down like this, Async: You want to go retrieve some information from somewhere and you know it's going to take some time i.e. from disk, but you want to be notified as soon as it's done so you can use that information with the rest of the execution, normally this would result in telling the user that the operation has been completed via some visual prompt.
Hangfire is much like a background service, you can tell it to run and you want the process to go away and do a thing and you don't necessarily want/need to tell the user when the operation has been completed.
You can use Hangfire in multiple different ways though, in-process - where jobs are run in the background of the executing application, or out of process- where you can tell another process to execute the jobs.
Hope this helps separate the two in your mind
Hello,
What is special to use Hangfire compare to use the async or similar that is part of dotnet framework?
Is there a differences?
Thank you!