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.
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.
Author(s): Jon Smith
Edition: 1
Publisher: Manning Publications
Year: 2018
Language: English
Commentary: True PDF
Pages: 520
City: Shelter Island, NY
Tags: Databases; C#; Web Applications; Concurrency; Asynchronous Programming; ASP.NET; SQL; Relational Databases; NoSQL; Indexing; Queries; Design Patterns; Best Practices; Performance Tuning; Unit Testing; Data Modeling; Business Processes; Antipatterns; Entity-Relationship Model; Entity Framework; LINQ; Database Migration
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
Part 2 - Entity Framework in depth
6. Configuring nonrelational properties
7. Configuring relationships
8. Configuring advanced features and handling concurrency conflicts
9. Going deeper into the DbContext
Part 3 - Using Entity Framework Core in real-world applications
10. Useful software patterns for EF Core applications
11. Handling database migrations
12. EF Core performance tuning
13. A worked example of performance tuning
14. Different database types and EF Core services
15. Unit testing EF Core applications
Appendix A - A brief introduction to LINQ
Appendix B - Early information on EF Core version 2.1