LinqPaginator 1.0.6

For queries that return a lot of data, a need emerges to consume the results in chunks rather than the entire set. Consuming all results at once can be costly in terms of network traffic thus slowing down your application.

Linq Paginator allows you to run your queries and return your data in form of pages. A page contains a set number of items to return per page e.g 20. If for example you have 100 records, it will return the following object:
- page: 1,
- pages: 5,
- perpage: 20,
- total: 100,
- data (collection of the first 20 records)

There is a newer version of this package available.
See the version list below for details.
Install-Package LinqPaginator -Version 1.0.6
dotnet add package LinqPaginator --version 1.0.6
<PackageReference Include="LinqPaginator" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LinqPaginator --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

For queries that return a lot of data, a need emerges to consume the results in chunks rather than the entire set. Consuming all results at once can be costly in terms of network traffic thus slowing down your application.

Linq Paginator allows you to run your queries and return your data in form of pages. A page contains a set number of items to return per page e.g 20. If for example you have 100 records, it will return the following object:

{
    "page": 1,
    "perpage": 20,
    "total": 100,
    "totalpages": 5,
    "items": [...]
}

The last property items is a collection of records in the current page and contains (n) number of items where n is the number of items to return per page, perpage

Usage

First import the namespace as shown below

using Paginator;
using Paginator.Models;

For queries that return a lot of data, a need emerges to consume the results in chunks rather than the entire set. Consuming all results at once can be costly in terms of network traffic thus slowing down your application.

Linq Paginator allows you to run your queries and return your data in form of pages. A page contains a set number of items to return per page e.g 20. If for example you have 100 records, it will return the following object:

{
    "page": 1,
    "perpage": 20,
    "total": 100,
    "totalpages": 5,
    "items": [...]
}

The last property items is a collection of records in the current page and contains (n) number of items where n is the number of items to return per page, perpage

Usage

First import the namespace as shown below

using Paginator;
using Paginator.Models;

Release Notes

Updates the library to support projects that target the following frameworks:
- netcoreapp1.0
- netcoreapp1.1
- netcoreapp2.0
- net46
- net461
- net462
- netstandard1.5
- netstandard1.6
- netstandard2.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.3 72 9/7/2019
1.2.2 50 9/6/2019
1.2.1 49 9/6/2019
1.2.0 50 9/6/2019
1.1.0 68 7/24/2019
1.1.0-beta 60 6/26/2019
1.0.6 114 4/14/2019
1.0.5 114 2/17/2019
1.0.4 112 2/9/2019
1.0.3 111 2/6/2019
1.0.2 368 3/3/2018
1.0.1 256 3/2/2018
1.0.0 352 1/21/2018
Show less