Raspberry Pi WS2812B Lightstrip Control with .NET

Raspberry Pi WS2812B Lightstrip Control with .NET

In this beginner-friendly guide, you’ll learn how to control a WS2812B (aka “NeoPixel”) LED light strip with a Raspberry Pi using .NET. We’ll enable SPI on the Pi, wire the strip correctly (including best practices like a level shifter and a series resistor), and write a small .NET 9 app using the Iot.Device.Bindings library to animate colors. We’ll also publish the app as a self-contained linux-arm64 binary so no .NET runtime is needed on the Pi.

Read Blog Post
Raspberry Build HAT: Controlling LEGO Engines with .NET

Raspberry Build HAT: Controlling LEGO Engines with .NET

In this beginner-friendly guide, you’ll learn how to control LEGO motors connected to a Raspberry Pi via the official Raspberry Pi Build HAT – using a simple, pure .NET application. We’ll use the Iot.Device.BuildHat NuGet package, which provides a friendly .NET API for the Build HAT. No Python required. We’ll also publish the app as a self-contained .NET 9 binary for linux-arm64 so you do not need to install .NET on the Raspberry Pi. This approach is easy to set up, reliable, and a great starting point for your own robotics projects.

Read Blog Post
Scheduled Builds for Cloudflare Deployments with GitHub Actions

Scheduled Builds for Cloudflare Deployments with GitHub Actions

Static site generators like Hugo do not have a built-in mechanism to automatically publish content–such as blog posts–at a specific time. If you want a post to go live at a certain hour, you need to rebuild and redeploy your site at that moment. This means you have to trigger the build process yourself, which can be inconvenient or easy to forget.

Read Blog Post
Automatically deploy GPT-4.1 Mini in Azure OpenAI via Bicep

Automatically deploy GPT-4.1 Mini in Azure OpenAI via Bicep

The official Microsoft documentation on deploying Azure OpenAI models is generally helpful, but specific examples are often still missing, especially for new models such as gpt-4.1-mini and newer SKU types such as DataZoneStandard. Anyone who wants to provide a current model such as the gpt-4.1-mini programmatically is therefore quickly faced with unanswered questions.

Read Blog Post
From ASP.NET Core to Hugo: My Blog's Migration to Cloudflare

From ASP.NET Core to Hugo: My Blog's Migration to Cloudflare

Like many developers, my blogging journey started with WordPress. More than 20 years ago. It was convenient, widely supported, and quick to set up. But over time, the drawbacks began to pile up: security issues, constant updates, performance tuning, plugin juggling, costly – the overhead was real. I wanted something more streamlined, something that gave me control without stealing my time.

Read Blog Post
Running a Local Docker Registry with PowerShell

Running a Local Docker Registry with PowerShell

Setting up a local Docker registry is a great way to manage and share container images in your development environment without relying on external services like Docker Hub. This guide walks you through setting up a private Docker registry on your machine using PowerShell on Windows.

Read Blog Post
Task.Run vs. TaskFactory.StartNew

Task.Run vs. TaskFactory.StartNew

When working with asynchronous or parallel code in C#, you’ll inevitably encounter two common ways to start tasks: Task.Run and TaskFactory.StartNew. At first glance, they seem similar - but they behave differently and should be used appropriately depending on the context.

Read Blog Post