- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Using health checks to run async tasks in ASP.NET Core
Running async tasks on app startup in ASP.NET Core - Part 4
In this post I describe an approach to running tasks on startup that uses IHostedService to run the tasks and exposes their status using health checks…

Feedback on async task examples and another possible solution
Running async tasks on app startup in ASP.NET Core - Part 3
In this post I discuss some feedback on my previous posts about running async tasks on startup, including why database migrations were a poor example…

Two approaches for running async tasks
Running async tasks on app startup in ASP.NET Core - Part 2
In this post I show two approaches for running tasks asynchronously on startup. Each approach allow registering tasks using DI, but have different trade offs…

Built in options for running async tasks
Running async tasks on app startup in ASP.NET Core - Part 1
In this post I look at the problem of running one-off tasks asynchronously on app startup in ASP.NET Core, and explore the pros and cons of each option…

Using dependency injection with Twilio SMS and ASP.NET Core 2.1
In this post, I describe how to create a custom ITwilioRestClient, register it with the DI container, and inject it into an MVC controller.…

Creating an AWS policy for calling the SES mailbox simulator from CodeBuild
In this post I show how to create an AWS IAM policy that allows you to send email with AWS SES to the mailbox simulator only, not to real recipients.…

