0% found this document useful (0 votes)
7 views6 pages

EF Core Performance Improvement Tips

The document discusses various strategies to improve Entity Framework (EF) Core performance, including avoiding lazy loading, using .AsNoTracking() for read-only queries, implementing compiled queries for high-traffic applications, and utilizing ExecuteUpdateAsync() for bulk updates. Each strategy is briefly overviewed to highlight its benefits. The author encourages readers to follow for more information and tips on this topic.

Uploaded by

myheromom01
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

EF Core Performance Improvement Tips

The document discusses various strategies to improve Entity Framework (EF) Core performance, including avoiding lazy loading, using .AsNoTracking() for read-only queries, implementing compiled queries for high-traffic applications, and utilizing ExecuteUpdateAsync() for bulk updates. Each strategy is briefly overviewed to highlight its benefits. The author encourages readers to follow for more information and tips on this topic.

Uploaded by

myheromom01
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Daily Blog’s Dot Net Series

Improve EF Core
Performance

Asim Noor
iasimnoor Swip
Daily Blog’s Dot Net Series

Avoid Lazy Loading

Overview

Use explicit or eager loading to prevent unnecessary queries.

Asim Noor
iasimnoor Swip
Daily Blog’s Dot Net Series

Use .AsNoTracking()

Overview

Speed up read-only queries by disabling change tracking.

Asim Noor
iasimnoor Swip
Daily Blog’s Dot Net Series

Use Compiled Queries

Overview

Compiled queries optimize performance for high-traffic apps.

Asim Noor
iasimnoor Swip
Daily Blog’s Dot Net Series

Bulk Updates

Overview

Use ExecuteUpdateAsync() for efficient, large scale updates.

Asim Noor
iasimnoor Swip
Follow me to
get more
Information
and tips like
this.
REPOST

Asim Noor
iasimnoor

You might also like