C# 12: Aliasing Any Type.  Hide Those Tuples
C# 12: Aliasing Any Type. Hide Those Tuples

Certainly! Here’s the updated version of the blog post with the “Before” code example revised to better demonstrate the use of a Tuple in the old way: Exploring C# 12: Embracing Type Aliases for Cleaner Code As a dedicated C# developer, I’m thrilled to delve into one of the most exciting features coming with C#... » read more

Using AI to Generate a File Cache in C#
Using AI to Generate a File Cache in C#

Like most, I’ve been playing around with the awesome capabilities of AI for developers. Recently we had to develop a small class library that would act as a specialized cache. Since I had a little extra bandwidth, I decided to have a little fun and see if I could get an AI engine to write... » read more

It’s better to .Take()
It’s better to .Take()

Given a EFCore entity object that has a navigation property, and the schema is built for a one-to-many relationship, but you want a navigation property to represent a single record based on a specific filter.