Testing with HttpClient Interception

In my last post [https://stu.dev/generating-typed-client-for-httpclientfactory-with-nswag/] I showed how to automatically generate a typed client for use with HttpClientFactory from a swagger file. Now I want to make changes to the client's behaviour and need unit…

Miscellaneous C# Async Tips

There are lots of great async tips out there, here a random few that I've collected over the past couple of years that I haven't seen much written about. Use Discards with Task.Run for Fire…