Skip to main content
ANVISoftware Solutions

Entity Framework Core

Intermediate16-20 hours4 modules17 lessons

Work with a database through C# objects while staying aware of the SQL underneath, including the performance traps that catch most teams.

Prerequisites

  • C# fundamentals
  • Basic SQL: SELECT, JOIN, WHERE

About this course

EF Core removes a lot of repetitive data-access code. It also makes it easy to write something that looks fine and performs badly, because the generated SQL is out of sight unless you go looking.

This course teaches both halves. You will learn the mapping, relationships, migrations and query APIs, and you will also learn to inspect what EF Core actually sent to the database, so performance work is based on evidence.

The N+1 query problem gets a full treatment, since it is the single most common EF Core performance bug and it is almost invisible until a list grows.

Course roadmap

All 17 lessons are written and available.

On completion

What you should take away

  • An ORM is a convenience layer, and you remain responsible for the queries it generates
  • Relationships and loading strategy determine most of your query performance
  • Projection is usually better than loading entities you do not need
  • Migrations belong in version control alongside the code that depends on them

Recommended next course

Automated Testing

Write tests that let you change code with confidence: unit, integration and API tests, test doubles, and what coverage really tells you.

Continue to Testing

Have a project worth talking through?

Tell us what you're building or what's slowing your current system down. We'll give you a direct read on scope and approach.