Skip to Main Content

Entity Framework Core in Action

Published by Manning
Distributed by Simon & Schuster

About The Book

Summary

Entity Framework Core in Action teaches you how to access and update relational data from .NET applications. Following the crystal-clear explanations, real-world examples, and around 100 diagrams, you'll discover time-saving patterns and best practices for security, performance tuning, and unit testing.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

There's a mismatch in the way OO programs and relational databases represent data. Entity Framework is an object-relational mapper (ORM) that bridges this gap, making it radically easier to query and write to databases from a .NET application. EF creates a data model that matches the structure of your OO code so you can query and write to your database using standard LINQ commands. It will even automatically generate the model from your database schema.

About the Book

Using crystal-clear explanations, real-world examples, and around 100 diagrams, Entity Framework Core in Action teaches you how to access and update relational data from .NET applications. You'l start with a clear breakdown of Entity Framework, long with the mental model behind ORM. Then you'll discover time-saving patterns and best practices for security, performance tuning, and even unit testing. As you go, you'll address common data access challenges and learn how to handle them with Entity Framework.

What's Inside

  • Querying a relational database with LINQ
  • Using EF Core in business logic
  • Integrating EF with existing C# applications
  • Applying domain-driven design to EF Core
  • Getting the best performance out of EF Core
  • Covers EF Core 2.0 and 2.1

About the Reader

For .NET developers with some awareness of how relational databases work.

About the Author

Jon P Smith is a full-stack developer with special focus on .NET Core and Azure.

Table of Contents

    Part 1 - Getting started

  1. Introduction to Entity FrameworkCore
  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. Part 2 - Entity Framework in depth

  7. Configuring nonrelational properties
  8. Configuring relationships
  9. Configuring advanced features and handling concurrency conflicts
  10. Going deeper into the DbContext
  11. Part 3 - Using Entity Framework Core in real-world applications

  12. Useful software patterns for EF Core applications
  13. Handling database migrations
  14. EF Core performance tuning
  15. A worked example of performance tuning
  16. Different database types and EF Core services
  17. Unit testing EF Core applications
  18. Appendix A - A brief introduction to LINQ
  19. Appendix B - Early information on EF Core version 2.1

About The Author

Jon P. Smith is an independent principal software developer and architect with a special focus on .NET Core and Azure. He mainly works on the back-end of client applications, typically using EF Core and ASP.NET Core web applications. He is a working developer with clients from the USA and UK, typically designing and writing large sections of an application.

Product Details

  • Publisher: Manning (July 15, 2018)
  • Length: 520 pages
  • ISBN13: 9781638355946

Browse Related Books

Resources and Downloads

High Resolution Images