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. Get 45% off with the code pblock3, only until August 17th!
DI scopes in IHttpClientFactory message handlers don't work like you think they do
In this post I discuss how handler DI scopes work in IHttpClientFactory, and how they're different to the request DI scope.…
Exploring the code behind IHttpClientFactory in depth
In this post I look in depth at the code behind the default implementation of IHttpClientFactory and see how it manages HttpClient handler lifetimes.…