What do you think?


Entity Framework Core in Action
Entity Framework Core in Action, Second Edition teaches you to write flawless database interactions for .NET applications.
Summary
Entity Framework Core in Action, Second Edition is an in-depth guide to reading and writing databases with EF Core. Revised from the bestselling original edition, it’s filled with over 100 diagrams, code snippets, and examples—including building and scaling your own bookselling web application. Learn from author Jon Smith’s extensive experience working with EF Core in production, as you discover time-saving patterns and best practices for security, performance tuning, and unit testing. All of the book’s code is available on GitHub.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Entity Framework radically simplifies data access in .NET applications. This easy-to-use object-relational mapper (ORM) lets you write database code in pure C#. It automatically maps classes to database tables and enables queries with standard LINQ commands. It even generates SQL, so you don’t have to!
About the book
Entity Framework Core in Action, Second Edition teaches you to write flawless database interactions for .NET applications. Following relevant examples from author Jon Smith’s extensive experience, you’ll progress quickly from EF basics to advanced techniques. In addition to the latest EF features, this book addresses performance, security, refactoring, and unit testing. This updated edition also contains new material on NoSQL databases.
What's inside
Configure EF to define every table and column
Update your schema as your app grows
Integrating EF with existing C# application
Write and test business logic for database access
Applying a Domain-Driven Design to EF Core
Getting the best performance out of EF Core
About the reader
For .NET developers familiar with relational databases.
About the author
Jon P. Smith is a freelance software developer and architect with a special focus on .NET and Azure.
Table of Contents
PART 1
1 Introduction to Entity Framework Core
2 Querying the database
3 Changing the database content
4 Using EF Core in business logic
5 Using EF Core in ASP.NET Core web applications
6 Tips and techniques for reading and writing with EF Core
PART 2
7 Configuring nonrelational properties
8 Configuring relationships
9 Handling database migrations
10 Configuring advanced features and handling concurrency conflicts
11 Going deeper into the DbContext
PART 3
12 Using entity events to solve business problems
13 Domain-Driven Design and other architectural approaches
14 EF Core performance tuning
15 Master class on performance-tuning database queries
16 Cosmos DB, CQRS, and other database types
17 Unit testing EF Core applications
Summary
Entity Framework Core in Action, Second Edition is an in-depth guide to reading and writing databases with EF Core. Revised from the bestselling original edition, it’s filled with over 100 diagrams, code snippets, and examples—including building and scaling your own bookselling web application. Learn from author Jon Smith’s extensive experience working with EF Core in production, as you discover time-saving patterns and best practices for security, performance tuning, and unit testing. All of the book’s code is available on GitHub.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Entity Framework radically simplifies data access in .NET applications. This easy-to-use object-relational mapper (ORM) lets you write database code in pure C#. It automatically maps classes to database tables and enables queries with standard LINQ commands. It even generates SQL, so you don’t have to!
About the book
Entity Framework Core in Action, Second Edition teaches you to write flawless database interactions for .NET applications. Following relevant examples from author Jon Smith’s extensive experience, you’ll progress quickly from EF basics to advanced techniques. In addition to the latest EF features, this book addresses performance, security, refactoring, and unit testing. This updated edition also contains new material on NoSQL databases.
What's inside
Configure EF to define every table and column
Update your schema as your app grows
Integrating EF with existing C# application
Write and test business logic for database access
Applying a Domain-Driven Design to EF Core
Getting the best performance out of EF Core
About the reader
For .NET developers familiar with relational databases.
About the author
Jon P. Smith is a freelance software developer and architect with a special focus on .NET and Azure.
Table of Contents
PART 1
1 Introduction to Entity Framework Core
2 Querying the database
3 Changing the database content
4 Using EF Core in business logic
5 Using EF Core in ASP.NET Core web applications
6 Tips and techniques for reading and writing with EF Core
PART 2
7 Configuring nonrelational properties
8 Configuring relationships
9 Handling database migrations
10 Configuring advanced features and handling concurrency conflicts
11 Going deeper into the DbContext
PART 3
12 Using entity events to solve business problems
13 Domain-Driven Design and other architectural approaches
14 EF Core performance tuning
15 Master class on performance-tuning database queries
16 Cosmos DB, CQRS, and other database types
17 Unit testing EF Core applications
624 pages, Paperback
Published June 8, 2021
Ratings & Reviews
Friends & Following
Create a free account to discover what your friends think of this book!
Community Reviews
Displaying 1 - 5 of 5 reviews
January 29, 2019
This is the book you need to read for EF Core!
I've been using EF 6 for some years now and this book made the path to EF Core so much smoother. Jon really knows how to explain things and the book is full of real-world examples, not just some foobar things. I also liked a lot the chapter focused on performance tuning EF Core. By far, this is the best resource to dive deep and improve your knowledge of EF Core. Look no further!
I've been using EF 6 for some years now and this book made the path to EF Core so much smoother. Jon really knows how to explain things and the book is full of real-world examples, not just some foobar things. I also liked a lot the chapter focused on performance tuning EF Core. By far, this is the best resource to dive deep and improve your knowledge of EF Core. Look no further!
February 16, 2026
I read this book cover to cover to understand Entity Framework a few years ago. I found the content clear and progressive. It was well structured and I could easily refer to a specific topic when needed.
Overall, a very useful technical companion for EF and developing custom .NET solutions.
Overall, a very useful technical companion for EF and developing custom .NET solutions.
May 17, 2023
Haven't finished yet but a lot of the code examples seem to be incomplete, leaving out some properties, fields & methods. The GitHub repo is available but often doesn't match up to the examples given in the text.
Will update this review upon completion
Will update this review upon completion
November 19, 2023
Even if you describe yourself as expert programmer, there are alwayse a lot of knowledge you haven't chance to capture.
This book includes a lot of these knowledge,so I very recommended it for every .net developer.
This book includes a lot of these knowledge,so I very recommended it for every .net developer.
November 30, 2023
A comprehensive deep dive into every aspect of Ef Core that filled with practical examples. A plus that it also include a chapter on how to use EF Core with Domain Driven Design and Clean Architecture.
Displaying 1 - 5 of 5 reviews



