I need to write a custome .net windows service that will be installed on same server as aspzero.
The purpose of the service is to run scheduled jobs in background.
Looking for guidance on way to approach as the service does not need to authenticate - just needs crud access to database via API .
Does aspzero have scheduling type service that can be extended? Or do I need to write custom.
4 Answer(s)
-
0
Hi,
Are you looking for a different solution than this?: <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Background-Jobs-And-Workers">https://aspnetboilerplate.com/Pages/Doc ... nd-Workers</a>
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Yeap there are some helpful integrations for scheduled jobs as service.
See hangfire integration for easy way to perform background processing
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
We use Quartz almost exclusively for scheduled jobs. It's very easy to set up.
We actually developed a very simple service that combined Quartz with an AWS SQS queue, where quartz would trigger an SQS message, and the service would monitor the SQS queue for messages and respond with jobs accordingly. This allowed us to also manually trigger jobs from our web application, or from other services.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks @strix20 :) for sharing your experience.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)