开发者

Delayed Job for ASP.NET to running async code?

开发者 https://www.devze.com 2023-01-10 10:30 出处:网络
Is there a plugin or other to mimic Rails Delayed Job in ASP.NET? What\'s the best way to run async code or jo开发者_开发知识库bs in an ASP.NET application?asp.net-mvc has async controllers that are u

Is there a plugin or other to mimic Rails Delayed Job in ASP.NET? What's the best way to run async code or jo开发者_开发知识库bs in an ASP.NET application?


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....

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号