Learn Minimal APIs from start to finish. Perfect for beginners.

Entity Framework tutorials

Track every EF Core record change with temporal tables
Track every EF Core record change with temporal tables

Learn how to track every change to your EF Core records using SQL Server temporal tables, with examples for querying the history.

PagedResults in EF Core: One class, endless reuse
PagedResults in EF Core: One class, endless reuse

Learn how to build a reusable PagedResults class in .NET that works with Entity Framework Core and supports multiple entity types.

EF Core without migrations - it's only a matter of time
EF Core without migrations - it's only a matter of time

Learn why EF Core without migrations is a disaster. Learn how to setup, configure, and deploy using migrations to keep databases consistent across environments.

EF Core transactions: Stop your data getting out of sync
EF Core transactions: Stop your data getting out of sync

Learn how Entity Framework Core transactions prevent data inconsistencies and how isolation levels affect behaviour in your applications.

Why your Entity Framework Core app needs query filters
Why your Entity Framework Core app needs query filters

Discover how EF Core query filters enforce global rules, simplify multitenancy, and clean up queries to stop sensitive data leaking into production.

How LeftJoin and RightJoin Work in EF Core .NET 10
How LeftJoin and RightJoin Work in EF Core .NET 10

Learn how LeftJoin and RightJoin work in EF Core .NET 10, replacing complex GroupJoin patterns and simplifying left and right joins in LINQ.

Add request logging to a database in an ASP.NET Core Web API
Add request logging to a database in an ASP.NET Core Web API

Learn how to add request logging to a database in an ASP.NET Core Web API using Entity Framework Core to effectively monitor and analyse API traffic.

Use EF Core to easily save dates as UTC & show in local time
Use EF Core to easily save dates as UTC & show in local time

Learn how to create a ValueConverter in Entity Framework Core to save dates as UTC in the database & convert them back to your local time zone in ASP.NET Core.

Using LINQ expressions to build dynamic queries in Entity Framework
Using LINQ expressions to build dynamic queries in Entity Framework

Make use of LINQ expressions to produce a Lambda expression dynamically. Build an expression for Entity Framework with the following clauses: And, Or, Any.