0. Introduction - Start here
If you want to learn the basics of Entity Framework, but use best design and architectural patterns, start from this page. GitHub Repository: https://github.com/saqibrazzaq/efcorebeginner You will learn how to do CRUD operations on a single table with EF Core (using SQL Server as the backend database). In this beginner series, we will keep just one table with 4-5 fields. You will learn to Create entity classes, which represents database schema Use Entity Framework DbContext to represent the entities Code first approach, design classes first, update database later Use repository pattern to keep the EF Core related stuff together Use service classes for business logic and domain classes Create controllers to expose web APIs Create DTOs for API clients Do transformation between DTOs and entity classes Validate data in service layer Better and generalized exception handling Search, sort and paging using EF Core LINQ You can learn and practice Entity Framework by just initializing DbContext with database connection string, then create DbSet and do CRUD operations....