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, unit testing, and all the book’s code is available on GitHub.
about the technologyEntity Framework Core is an object-relational mapper (ORM) that bridges the gap between your C# code and the commands required to access relational databases. As Microsoft’s recommended data access technology, it automatically maps your classes and code to the tables and views of a database—making it radically easier to query and write to databases from a .NET application. It allows you to query and write to your database using standard LINQ commands, and it will even automatically generate the model from your database schema. Now that .NET Core 5 is Microsoft’s primary development system, it’s never been more important to master Entity Framework Core.
about the bookEntity Framework Core in Action, Second Edition is a comprehensive guide to accessing databases from .NET applications. Updated and upgraded with new content, new diagrams, and new examples, this second edition of the bestselling original begins with a clear breakdown of Entity Framework, along with the mental model behind ORM. You’ll discover time-saving patterns and best practices for security, performance tuning, and even unit testing, as well as tips and tricks developed by the author through their extensive experience working on different client applications. As you go, you’ll address common data access challenges and learn how to handle them with Entity Framework.
what's inside
- Read and write databases with Entity Framework Core
- Configure EF Core to define every table and column in your database
- Update your schema as your app grows
- Using EF Core with ASP.NET Core web applications
- Write and test business logic for database access
- Looking at different architectures to use with EF Core
about the readerFor .NET developers with beginning-to-intermediate experience using relational databases.
about the authorJon 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.