Entity Framework Core

Free.NETgithub.com

Best for: The default data layer for most .NET apps

Overview

Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.

Strengths

  • Migrations built in
  • LINQ queries with change tracking

Drawbacks

  • Generated SQL can surprise you; check it for hot paths

Alternatives to Entity Framework Core

See all 20 →

Microsoft Learn: .NET

Learning C# and .NET from the source
Free

Microsoft's official .NET and C# documentation, with free tutorials and learning paths from a first console app up to cloud apps.

ASP.NET Core docs

Building web APIs in .NET
Free

Official ASP.NET Core documentation: minimal APIs, controllers, middleware, authentication and hosting, with tutorials for each.

Dapper

Hand-written SQL without boilerplate
Free

Lightweight object mapper: you write the SQL, Dapper maps the rows to C# objects. Very little overhead, which is why it's often used next to EF Core for performance-critical queries.