C# Monitoring Windows Services With C# Ever wanted to monitor the state of Windows Services in a .NET project? This is a problem I recently had to solve and after some experimentation I settled on using WMI to monitor changes.
C# Logging with Source Generators in .NET .NET 6 added a new feature called Source Generators, allowing compile time code generation. Microsoft's logging library makes use of these Source Generators to generate best-practice logging code.
C# C# JSON encoding with System.Text.Json - a small gotcha Microsoft released a new namespace for working with JSON in .NET core 3, called System.Text.Json. I've recently spent some time trying it out with a view to moving from Json.NET.
C# Using Nim with C# .NET Nim is a statically typed programming language that compiles to C. In this post, I will show how code written in Nim can be integrated within programs written for the .NET framework in C#.