❔ How to create pagination in ASP NET MVC?
I tried
PagedList
but that didn't work for me, any suggestions?6 Replies
What didn't work with PagedList? That's the easiest way I know of if you're using EF
.Skip().Take()
for offset paginationThe problem is PagedList doesn't work in ASP NET CORE
Use a
kind of a thing to represent the pagination result
it shouldn't be that hard to implement
whatever endpoint gets the data just needs the paging info in its parameters
an offset if you're using offset pagination
or an "after" if you're using keyset pagination
if they're blank, you're starting from the beginning
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.