Include sensitive data in Entity Framework logging by setting EnableSensitiveDataLogging

When we turn on logging in Entity Framework, by default it won’t output sensitive information such as query parameter values … Continue reading Include sensitive data in Entity Framework logging by setting EnableSensitiveDataLogging

Simple string concatenation using String.Create and other performance sensitive approaches in .NET 8

I posted my previous simple string concatenation benchmark results where I was concatenating my name with spacer on Reddit recently. … Continue reading Simple string concatenation using String.Create and other performance sensitive approaches in .NET 8

Using IEntityTypeConfiguration config classes to configure Entity Framework entity mappings

When using Entity Framework, storing mapping configurations inline directly in OnModelCreating can make our DbContext class cumbersome and less readable … Continue reading Using IEntityTypeConfiguration config classes to configure Entity Framework entity mappings