C#

Run Local LLMs in .NET with Ollama and Docker

You know that you don’t need to pay for AI services to get the job done, right? If you’re looking to run local AI models in your .NET applications, I’ve got …

Aug 2025
C#

I Built My Own MediatR! Here How You Can Too

MediatR is going commercial, so a lot of teams want a free way to handle in-process messaging in their .NET apps. Here is how to build your own. In my latest …

Jun 2025
C#

HybridCache in .NET 9 is Awesome!

.NET 9 is now live, and it comes with a new set of features. Some are great, and some are just icing on the cake. But what really stands out is the new …

Nov 2024
C#

C# IFormattable: How to Add Custom Format Strings

DateTime has a great feature that I often replicate in my classes: the ability for users to format the ToString output however they want. Using it is cool, but …

Nov 2024
C#

Implement Builders easily with Source Generator in .NET

I created a YouTube video on Source Generator in which I showcased one possible implementation. However, I feel that I didn’t fully highlight its capabilities. …

Feb 2024
C#

Running Integration Tests with Docker in .NET using TestContainers

Hello everyone, in today’s post I will show you the easiest and cleanest way to perform integration testing of your code with database dependencies with the …

Nov 2023
C#

CSharpRepl – Your Ultimate C# Playground in the Terminal

So, listen up! CSharpRepl is this awesome command-line tool that allows you to get hands-on with C# programming without any hassle. With this tool, you can …

Oct 2023
C#

Let's Build a Tic Tac Toe Game with Blazor WebAssembly!

Hey there, fellow developer! In this tutorial, I’ll walk you through building an awesome Tic Tac Toe game using Blazor WebAssembly. So grab your coding gear, …

Aug 2023
C#

Mapperly Tutorial: .NET Source Generator Object Mapping

Mapperly is a .NET source generator for object-to-object mapping. You declare the mapping methods you want, and it writes the implementation for you at compile …

Jul 2023
C#

Spectre.Console Tutorial: Build Beautiful .NET Console Apps

If you build .NET console applications, you have probably hit the limits of Console.WriteLine and Console.ReadLine. They handle text in and text out, and not …

Mar 2023