Running background tasks in ASP.Net Core

Running background tasks is a fairly common scenario in most web applications as they are perfect to perform timed jobs like database cleanup, or sending newsletters. At times, you might have constraints in using other services to to this for you. Fortunately, ASP.Net Core has built in support to run background tasks. There are two methods to define such tasks: either through an interface, or an abstract class. In this video we try to demystify both and in the end we also discuss about common caveats. If you want to support this channel, here's a link to my GitHub Sponsors profile: https://github.com/sponsors/danpdc Related videos: A deeper look into ASP.Net Core start-up model:    • A deeper look into the ASP.NET Core Startu...   ASP.NET Core service lifetimes explained:    • ASP.Net Core service lifetimes (probably t...   #aspnetcore #dotnet #csharp