🚀 New: The .NET Senior PlaybookSave 20% with launch discount 

Explore the newsletters

28 blogs found
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

5 Hidden EF Core Nuget Packages That Will Instantly Improve Your .NET Projects

5 Hidden EF Core Nuget Packages That Will Instantly Improve Your .NET Projects

Discover 5 powerful EF Core NuGet packages that can dramatically improve your .NET applications. Better exception handling in EF Core with EntityFramework.Exceptions. Automatic naming conventions and casing EntityFramework.NamingConventions. Bulk inserts in EF Core with EntityFramework.Extensions. Dynamic queries over LINQ and EF Core - Microsoft.EntityFrameworkCore.DynamicLinq. Automatic Auditing - Audit.EntityFramework.Core.

Specification Pattern in EF Core: Flexible Data Access Without Repositories

Specification Pattern in EF Core: Flexible Data Access Without Repositories

How to create a Specification Pattern in EF Core for building flexible and reusable database queries in .NET projects. Define reusable filters, includes and sorting as specification classes, avoid the problems that come with large, hard-to-maintain repositories. Combine specifications with AND and OR.

Improve Your .NET and Architecture Skills

Join my community of 25,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 25,000+ developers already reading
No spam. Unsubscribe any time.