Schedule a Background Job From an API Endpoint

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I guess you can do that by simply removing "await" on the service call line from the controller. Works like a charm for me.

mavlogs
Автор

Could this be used to implement the outbox pattern? So instead of creating your own logic to handle your Events with outboxmessages just use this with an "eventconsumejob" f.e. that gets enqued with the same db transaction and can then be executed by hangfire in the backhround automatically

flobuilds
welcome to shbcf.ru