Blog Posts

Re-use EF Core Expressions to avoid redundant queries

Re-use EF Core Expressions to avoid redundant queries

I often see snippets in EF Core code reviews such as the following: dbContext.Users.Where( user => user.Id == id ); The query filter user => u

Easy InMemory Unit Tests with EFCore and Sqlite

Easy InMemory Unit Tests with EFCore and Sqlite

Unit testing is a type of software testing that is performed on the smallest unit of a software application, called a "unit". A unit can be

Better Code with custom Strong-Id Types

Better Code with custom Strong-Id Types

In many software architectures the problem exists that there are methods, which are specified a multiplicity of type-same parameters, whose meaning i

Value Converters in EFCore

Value Converters in EFCore

In the field of software development, data transformation plays a key role in ensuring that information flows seamlessly between different components

Simplify string formatting with SmartFormat.NET

Simplify string formatting with SmartFormat.NET

String formatting is a common task in software development and allows you to create dynamic and informative output. Traditional approaches such as st

Neuerungen in .NET 8

Neuerungen in .NET 8

Noch ein halbes Jahr bis zum Release von .NET 8 - Zeit sich anzuschauen, was wir neues erwarten dürfen. LTS Release .NET 8 ist erneut ein LTS-Release

Detect Windows 10 and Windows 11 with .NET

Detect Windows 10 and Windows 11 with .NET

Version numbers have always been a rather weird maintained matter under Windows; however, it became particularly bad with Windows 10, respectively 11