Coding Shorts: Running Async Jobs in ASP.NET Core

preview_player
Показать описание
I recently needed to run long task in the background in ASP.NET Core. For our particular need, we couldn't do this in a distributed fashion (e.g. fire up a bus and a project to monitor the bus and accomplish the task). Instead, I found a great library for firing asynchronous jobs off. Let me show you how it works!

00:00 Introduction
01:08 Getting Started
02:10 Introducing Quartz.ASPNETCore
02:33 Configurating Quartz
03:38 Your First Job
04:55 Scheduling a Job
07:14 Using State
08:25 Wrapping Up

Project Repo:

If you like this video, you might like other videos in my Instructional Videos:
Рекомендации по теме
Комментарии
Автор

Like as always, concise and straight to the point. You are amazing Shawn. Keep it up.

heavypeki
Автор

Awesome thanks a lot Shawn! Love how concise you are.

shtermacg
Автор

really cool! I knew Quartz was a thing, but had never seen a demo until now. Love it!

adamoneil
Автор

Hey Shawn, can you make a general c# video on streams?

Radddan
Автор

It was just a small part of this, but you should use ILogger as it is meant to, without string interpolation.

palpie
Автор

Great video
I have one query - can I run a stored proc on crown schedule where that sproc took 20 minutes to complete. And What happen if IIS pool recycles in between while this job is running do I need to reschedule or quartz will take care of this. Please reply.

nirajchandrajoshi
Автор

Hi, great video!
What are the advantages over hangfire?

alfonsdeda
Автор

How does it keep state if your app crashes / restarts? Can you store the jobs in a queue or database?

PelFox