© Holger Schwichtenberg 2018
Holger SchwichtenbergModern Data Access with Entity Framework Core https://doi.org/10.1007/978-1-4842-3552-2_17

17. Performance Tuning

Holger Schwichtenberg1 
(1)
Essen, Germany
 

This chapter provides guidance on accelerating database access with Entity Framework Core.

Process Model for Performance Optimization in Entity Framework Core

Like the classic Entity Framework, the following process model for optimizing the performance of database accesses has proven itself in Entity Framework Core:
  • The first step is to implement all data accesses using Entity Framework Core and LINQ, except for UPDATE, DELETE, and INSERT bulk operations. Bulk operations use SQL or a bulk insert directly.

  • The application is then tested with realistic ...

Get Modern Data Access with Entity Framework Core: Database Programming Techniques for .NET, .NET Core, UWP, and Xamarin with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.