May 15, 2023

Displaying Metrics With A 1602 LCD, I2C and MQTT

A few months ago, I solved the problem of having to use a Home Assistant dashboard to view power consumption by creating some solar LED’s embedded […]
May 10, 2023

Visual Studio 2022: Apply File Scoped Namespaces using Code Cleanup Profile

In this post, let’s see how we can apply File scoped namespaces to all the existing C# files using a Code Cleanup Profile. Imagine you have […]
April 27, 2023

C# 12.0 Preview: Primary Constructors for Classes and Structs

In this post let’s have a look at “Primary Constructors for Classes and Structs”, a preview feature in C# 12.0. You can try this out with […]
April 10, 2023

Azure Kubernetes Service: Enable Ingress using Application Gateway

In this post, let’s see how we can enable ingress in an AKS cluster using Application Gateway. We can easily do that using Application Gateway Ingress Controller […]
April 1, 2023

Azure Kubernetes Service: Using Azure Files as a Persistent Volume

In this post, let’s see how we can use Azure Files as a Persistent Volume in Azure Kubernetes Service (AKS). Preparation In Azure, I already have an AKS […]
April 1, 2023

Azure Kubernetes Service: Using Azure Files as a Persistent Volume

In this post, let’s see how we can use Azure Files as a Persistent Volume in Azure Kubernetes Service (AKS). Preparation In Azure, I already have an AKS […]
March 17, 2023

Visual Studio 2022: Web API Endpoint Explorer

In this post, let’s have a look at this nice feature that is available in Visual Studio 2022 and that is Web API Endpoint Explorer. I […]
March 8, 2023

Entity Framework Core and Connection Resiliency

In this post, let’s see some built-in features in EF Core that supports Connection Resiliency. For example, if the connection to the database dropped while executing […]
February 22, 2023

System.Text.Json: Configure Polymorphism using the Contract Model

In this post let’s see how we can configure Polymorphism using the Contract Model in System.Text.Json. You can also configure Polymorphism using attributes (How to configure Polymorphism using […]
February 16, 2023

System.Text.Json: Enforce Required Properties for Deserialization

I had a requirement where I want to enforce some property values to be present before deserializing the JSON string. And with .NET 7, you can […]
January 30, 2023

C# 11.0: Newlines in String Interpolation Expressions

In this post let’s have a look at another feature that is available with C# 11.0. And that is support for Newlines in String Interpolation Expressions. Consider […]
December 5, 2022

ASP.NET Core Web API: Exception Handling

In this post, let’s see how we can provide a common approach for handling exceptions in ASP.NET Core Web APIs in the Development environment as well […]