rendle.dev

Mark Rendle's .NET development blog.

Running a .NET 5 web app on Railway

I built a small ASP.NET Core 5 web app and deployed it to Railway in about 2 hours.

7-Minute Read

I’ve been working on a fun little project on my stream recently. It’s an app called StreamBadger that adds overlay images and plays sounds on the stream through OBS Studio. It uses the Twitch API so it needs to authenticate with Twitch, and as it’s a desktop application I wanted to build that authentication flow where you log in through the browser and the app sits and waits and then magically gets connected.

Nullable References in Enumerables

Handling nullable reference types in IEnumerable operations

2-Minute Read

I’m a big fan of the Nullable Reference Types feature added in C# 8.0. It lets the compiler catch a bunch of potential runtime errors, and I guarantee if you turn it on you’ll get a bunch of warnings. As of .NET 5.0, the entire BCL is now covered with nullable annotations, and a lot of the extended ecosystem supports them too.

Recent Posts

Categories

About

Mark Rendle's blog about making software and stuff.