August 15, 2022

EF Core: OnDelete DeleteBehavior ClientSetNull Vs. SetNull in an Optional Relationship

In this post, let’s have a look at the difference between DeleteBehavior.ClientSetNull and DeleteBehavior.SetNull when configuring OnDelete action in an Optional EF Core Relationship.  I am finding this important […]
July 20, 2022

Entity Framework Core 7 Preview 6: Performance Improvements

Entity Framework Core 7 (EF7) Preview 6 was released and it contains a bunch of performance improvements by reducing unnecessary roundtrips to the database and by improved […]
April 6, 2022

In-Process Azure Function, EF Core Logging using ILogger

In this post, let’s see how we can configure EF Core logging using ILogger in an In-Process Azure Function. First, I am registering my DbContext in […]