Reputation: 580
I am creating a web API in ASP.net core for my angular frontend and right now I have implemented a filtering feature on my frontend page where the users can filter and sort the data using any field, with regex filters, and also allow the user to only show a number of elements on each page. the problem with this is that: every time I have to send all the data from my backend which won't come in handy when I have a big database, so I must do the filtering, ordering, and paging on my backend depending on what the user requested from the front. How's this problem usually solved? are there known technics for doing this?
Upvotes: 1
Views: 1151
Reputation: 434
You have a lot of options for that:
I hope it will help you to quick query and filter your data on backend side.
Upvotes: 2