Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delayed Job for ASP.NET to running async code?

Is there a plugin or other to mimic Rails Delayed Job in ASP.NET? What's the best way to run async code or jobs in an ASP.NET application?

like image 209
Will Gretz Avatar asked Aug 04 '10 16:08

Will Gretz


1 Answers

asp.net-mvc has async controllers that are used for the main use case for delayed_job (at least how I read it from here, haven't used Rails for a couple years)

Otherwise, asp.net is still .Net, so you can use ThreadPool.QueueUserWorkItem to just do a fire and forget chunk of code.

Unless there is some specific feature of delayed_job that you are interested in that I am missing....

like image 197
µBio Avatar answered Sep 20 '22 14:09

µBio