Explore the newsletters

30 blogs found
EF Core and Azure SQL Database: A Step-by-Step Guide

EF Core and Azure SQL Database: A Step-by-Step Guide

A step-by-step guide to using EF Core with Azure SQL Database - create the database in Azure Portal, connect and run migrations, add transient-fault resilience, and switch to passwordless Microsoft Entra authentication.

EF Core in Clean Architecture the Pragmatic Way

EF Core in Clean Architecture the Pragmatic Way

A focused guide to using EF Core in Clean Architecture without repositories. Learn why the Dependency Rule still holds when your Application layer uses DbContext directly, how to keep your handlers small, how to reuse queries, and how to test without mocking. And when a Repository actually makes sense.

The Real Cost of Returning the Identity Value in EF Core

The Real Cost of Returning the Identity Value in EF Core

Learn why EF Core SaveChanges becomes slow when inserting thousands of rows when returning identity values and how BulkInsert and BulkInsertOptimized from Entity Framework Extensions deliver up to 23x faster performance in SQL Server.

Entity Framework Extensions Options Explained: Everything You Can Customize

Entity Framework Extensions Options Explained: Everything You Can Customize

Explore Entity Framework Extensions options: BulkInsert, InsertIfNotExists, InsertKeepIdentity, AutoMapOutputDirection, IncludeGraph, AutoTruncate, batch settings, primary key configuration, column input/output/ignore, coalesce, conditional updates, audit, logging, and provider-specific settings for optimized bulk operations.

EF Core Bulk Data Retrieval: 5 Methods You Should Know

EF Core Bulk Data Retrieval: 5 Methods You Should Know

Learn how to efficiently retrieve large datasets in Entity Framework Core without hitting SQL Server's 2,100 parameter limit. Discover 5 bulk data retrieval methods from Entity Framework Extensions that dramatically improve performance when querying thousands of entities: WhereBulkContains, WhereBulkNotContains, BulkRead, WhereBulkContainsFilterList, WhereBulkNotContainsFilterList

Why You Don't Need a Repository in EF Core

Why You Don't Need a Repository in EF Core

Learn why you don't need the Repository pattern with EF Core. This guide explains how EF Core already implements Repository and Unit of Work, shows best practices for using DbContext directly in N-Layered Architecture, Clean Architecture, and Vertical Slice Architecture. Explore EF Core testability with In-Memory DbContext and integration tests. Explores when a custom repository might still be useful

Improve Your .NET and Architecture Skills

Join my community of 27,000+ developers and architects.

Each week you will get 1 practical tip with best practices and real-world examples.

Learn how to craft better software with source code available for my newsletter.

Join 27,000+ developers already reading
No spam. Unsubscribe any time.