Coder Social home page Coder Social logo

paging.net's Introduction

Paging.NET

Version Downloads

Paging.NET

Paging provides tools which are commonly used for handling paged data loading.

Download and Install Paging.NET

This library is available on NuGet: https://www.nuget.org/packages/Paging.NET/ Use the following command to install Paging using NuGet package manager console:

PM> Install-Package Paging.NET

You can use this library in any .Net project which is compatible to .Net Standard 1.0 and higher as well as with legacy PCL projects.

Latest Builds

Paging.NET Paging.Forms.NET Paging.Queryable.NET
Version Version Version Version
Pre-Release Version Version Version
Downloads Downloads Downloads Downloads

API Usage

Paging or pagination is a process of slicing a certain (usually big and costly) collection into subsets of items in order to improve query performance. Paging is not only a matter of splitting collections into chunks, it also has to consider sorting and filtering. Paging involves the requesting client in specifying a paging request and the responding service to respond with a result set.

In Paging.NET, each paging request is specified in a PagingInfo. The resulting page is returned in a PaginationSet.

  • PagingInfo allows to define which page index we want to retrieve (CurrentPage), how many items each page shall contain (ItemsPerPage), how the collection is sorted before it is paged (SortBy resp. Sorting) and if we like to apply a filter (Search resp. Filter) on the target collection.
  • PaginationSet sends the subset of Items along with some meta information, like the current page's zero-based index CurrentPage, the total number of pages TotalPages, the total number of items TotalCount (unfiltered: TotalCountUnfiltered).
TODO: Document the usage of PagingInfo and PaginationSet in some concrete examples

Contribution

Contributors welcome! If you find a bug or you want to propose a new feature, feel free to do so by opening a new issue on github.com.

License

This project is Copyright © 2019 Thomas Galliker. Free for non-commercial use. For commercial use please contact the author.

paging.net's People

Contributors

thomasgalliker avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bubdm

paging.net's Issues

Add support for .NET MAUI

Summary

Add support for .NET MAUI. Bump version to next major version.

API Changes

Xamarin.Forms support + samples will be removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.