Stuart Lang

Hi there!

My name is Stuart Lang. I am a software engineer passionate about F#, C# and .NET. I love attending and helping run community tech events, and contributing to open source.

Latest Articles

Testing with HttpClient Interception

In my last post 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 tests, in this post I will…

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 and ForgetThis is a…

BigInteger to String in Any Base with F#

In this post I share a snippet of code to print a .NET BigInteger to a string in any base, not just the usual binary, decimal and hex, and explore some of F# along the way.