C# Tutorials Blog

Follow these free tutorials to learn C# basics and more advanced topics, including tips for building rich web and cross-platform apps with Blazor and MAUI. Each tutorial includes code snippets and examples.
One of the most beautiful things about static site generators is the ability to automate your workflow as part of the build process. In this tutorial, you will learn how I pair the Statiq site generator with ImageSharp to automatically generate featured images and social share images for this site. ... Read more

In this tutorial, you will learn how to write your first WinUI 3 desktop app using the Windows App SDK. The Windows App SDK (previously known as Project Reunion) seeks to solve the problem of operating system level dependencies by providing consistent APIs for Windows 10 and Windows 11 app ... Read more

It is common for IoT solutions to use sensors to log data over time. In this electronics tutorial, you will use a Meadow microcontroller board and an LM35 analog temperature sensor to collect weather data. Then, you will post that data to a web API and store it in a ... Read more

In a connected Internet of Things (IoT) application, you may need to control your electronics from another device. This tutorial will demonstrate how a Blazor web app can make HTTP requests to a Meadow microcontroller, which can then set the angle of a servo motor. ... Read more

A servo motor is an essential component in robotics applications. Possible applications include rotating levers and pulling strings (for example, opening a door, steering a car, turning a boat rudder, etc). With a Meadow microcontroller board, you can control a servo using C# in a .NET application. ... Read more

In this C# electronics tutorial, you will write a .NET application to display text onto a 16x2 (or 20x4) LCD character display connected to a Raspberry Pi. ... Read more