About This Book
Entity Framework Core Fundamentals provides a comprehensive, practical guide to building robust data access layers for modern .NET applications. Whether you are transitioning from ADO.NET, upgrading from earlier EF versions, or establishing data architecture for a new project, this book offers the patterns and practices you need to succeed with EF Core in .NET 10.
Who this book is for
This book is designed for intermediate .NET developers who understand C# fundamentals and want to master Entity Framework Core for production applications. You should have experience with object-oriented programming and basic web development concepts. While prior ORM experience is helpful, it is not required. The content serves individual developers seeking to deepen their data access skills and teams establishing standards for enterprise applications.
What you will learn and build
Throughout this book, you will develop an Inventory and Order Management System that demonstrates real-world data modeling challenges. You will learn to configure complex relationships, implement efficient querying strategies with LINQ, manage database schema evolution through migrations, and integrate EF Core with ASP.NET Core APIs. Beyond basics, you will explore performance optimization techniques, advanced mapping strategies including inheritance and value objects, and production concerns such as connection resiliency, monitoring, and CI/CD integration.
How to use this book
The book follows a progressive learning path across five parts. If you are new to EF Core, work through Part I and II sequentially to establish solid foundations in modeling and querying. Part III focuses on application architecture and is valuable for developers structuring larger codebases or building Web APIs. Part IV covers performance optimization and advanced modeling for complex domains. Part V addresses production deployment and operational concerns. Experienced developers can reference specific chapters as needed, though the sample project builds incrementally throughout.
High-level prerequisites
You should be comfortable with C# 12/13 syntax, LINQ basics, and general .NET project structure. Familiarity with relational database concepts and SQL is beneficial but not mandatory. The examples use Visual Studio 2022 and SQL Server LocalDB, though any modern IDE and EF Core-supported database will work. All code samples target .NET 10 and EF Core 9.
