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…

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.

How to dotnet build and Target net4x on macOS

UPDATE: These methods are no longer required. There is a better way I've written about here: https://stu.dev/dotnet-framework-reference-assemblies-via-nuget/ [https://stu.dev/dotnet-framework-reference-assemblies-via-nuget/] In a previous post [https://stu.dev/dotnet-framework-support-for-dotnetnet-standard-2-0/], I made a recommendation of additionally…

Displaying Images in iTerm from .NET Console Apps

Now that dotnet global tools are a thing, we are seeing an explosion of cool new cross platform command line apps being built with dotnet. A recent example of this is Giphy CLI [https://github.com/DavidDeSloovere/giphy-cli], this is…

.NET Framework Support for .NET Standard 2.0

When .NET Standard 2.0 was introduced, it wasn't plain sailing. .NET Standard 1.5 and 1.6 were already a thing, and they included APIs from .NET Frameworks higher than .NET Framework 4.6.1. Since .NET…