How can I improve the performance of an ASP.NET Core Web API handling large database queries?
I am working on an SAP.NET Core Web API that retrieves data from a SQL Server database. As the amount of data increases, some API endpoints are taking longer to return responses. I am using Entity Framework Core to handle database operations. I want to understand the best ways to optimize query execution, reduce unnecessary database calls, and improve API response times. What are the recommended approaches for improving ASP.NET Core API performance when working with large datasets? Should I consider pagination, AsNoTracking(), caching, database indexing, or raw SQL queries? I would appreciate
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.