https://github.com/dcyuksel/pagination
Pagination in C#
https://github.com/dcyuksel/pagination
efcore filters ordering pagination
Last synced: 6 months ago
JSON representation
Pagination in C#
- Host: GitHub
- URL: https://github.com/dcyuksel/pagination
- Owner: dcyuksel
- License: mit
- Created: 2024-10-18T19:45:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T14:16:50.000Z (over 1 year ago)
- Last Synced: 2025-03-26T16:26:59.914Z (about 1 year ago)
- Topics: efcore, filters, ordering, pagination
- Language: C#
- Homepage: https://medium.com/@dnzcnyksl/pagination-in-c-e346a34e7984
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pagination
Pagination in C#
Pagination is essential in almost all applications that display data.
Imagine you have a table with thousands of rows and only a list in the UI to show them.
Querying all rows every time someone loads the page not only consumes memory and increases the size of the HTTP call, but it also drastically decreases performance.
Instead of querying all the data, pagination can be used. With the page number and page size, data can be loaded to the UI in smaller chunks. With some ordering and filtering, it is even possible to query only the relevant data.