Stuart Lang's Picture

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

How to dotnet build and Target net4x on macOS

In a previous post, I made a recommendation of additionally targeting net461 in addition to netstandard2.0 in certain scenarios, however one of the nice things about targeting netstandard2.x is that on macOS you can install the .NET Core…

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, this is a tool to quickly get…

.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 Standard releases…

How I Use VS Code for Code Highlighting in My Blog

TL;DR Paste code from VS Code into your blog: https://github.com/slang25/html-copy-vscode The problem When I started this blog I did some investigation into how I should render fragments of code. I eventually landed on Prism, which…

Pattern Matching F# Union Types in C# 7

Starting with C# 7.0, there is basic pattern matching support. I want to look at using this to interop with F# Discriminated Unions, and see what consuming F# code from C# could look like at it's best. Here is…