"The most comprehensive reference for EF Core that does—or ever will—exist." - Stephen Byrne, Intel Corporation
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

- 624 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Entity Framework Core in Action, Second Edition
About this book
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- Entity Framework Core in Action
- Copyright
- Praise for the first edition
- contents
- front matter
- Part 1 Getting started
- 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 Entity Framework in depth
- 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 Using Entity Framework Core in real-world applications
- 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
- Appendix. A brief introduction to LINQ
- index
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, weâve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere â even offline. Perfect for commutes or when youâre on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Entity Framework Core in Action, Second Edition by Jon P Smith in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.