Explain the implications of Client vs Server Evaluation in EF Core.
Updated Apr 28, 2026
Short answer
EF Core attempts to evaluate all LINQ queries on the server (database). If it cannot translate a C# construct, it may evaluate it on the client (RAM), severely impacting performance.
Deep explanation
In older EF Core versions, implicit client-side evaluation caused massive data downloads. Modern EF Core throws an exception if a query cannot be fully translated to SQL. However, the final Select() projection can execute client-side code (e.g., string formatting). Understanding the boundary between what hits the DB and what hits the CPU is crucial.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro