Entity Framework Core in Action, Second Edition
- 12h 36m
- Jon P Smith
- Manning Publications
- 2021
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.
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
In this Book
-
Introduction to Entity Framework Core
-
Querying the Database
-
Changing the Database Content
-
Using EF Core in Business Logic
-
Using EF Core in ASP.NET Core Web Applications
-
Tips and Techniques for Reading and Writing with EF Core
-
Configuring Nonrelational Properties
-
Configuring Relationships
-
Handling Database Migrations
-
Configuring Advanced Features and Handling Concurrency Conflicts
-
Going Deeper into the DbContext
-
Using Entity Events to Solve Business Problems
-
Domain-Driven Design and Other Architectural Approaches
-
EF Core Performance Tuning
-
Master Class on Performance-Tuning Database Queries
-
Cosmos DB, CQRS, and Other Database Types
-
Unit Testing EF Core Applications