- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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.
-
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…
-
Running async tasks on app startup in ASP.NET Core
In this series I look at the problem of running one-off tasks asynchronously on app startup. I explore the options and discuss pros and cons of each…
-
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.…
-
Why is string.GetHashCode() different each time I run my program in .NET Core?
In this post I discuss string.GetHashCode(), why it's randomised, and hash-attacks. I also provide a deterministic implementation you can use when it's safe.…
-
Secure secrets storage for ASP.NET Core with AWS Secrets Manager (Part 2)
In this post I show how to control which secrets are loaded from AWS Secrets Manager when your ASP.NET Core app start.…