Lxm.AspNetCore.PagedList 1.0.2

A paged library for aspnetcore 2.0

Install-Package Lxm.AspNetCore.PagedList -Version 1.0.2
dotnet add package Lxm.AspNetCore.PagedList --version 1.0.2
<PackageReference Include="Lxm.AspNetCore.PagedList" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lxm.AspNetCore.PagedList --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A PagedList library for aspnetcore 2.0

How to use:

  1. Add this line into _ViewImports.cshtml
    @addTagHelper *, Lxm.AspNetCore.PagedList

  2. In Controller
    use query.ToPagedList(pageNumber, pageSize);

  3. In View
    @model Lxm.AspNetCore.PagedList.IPagedList<YourModelView>
    use this taghelper
    <pager id="pager" paged-list="@Model" asp-controller="YourController" asp-action="Index"></pager>

  4. Done.

A PagedList library for aspnetcore 2.0

How to use:

  1. Add this line into _ViewImports.cshtml
    @addTagHelper *, Lxm.AspNetCore.PagedList

  2. In Controller
    use query.ToPagedList(pageNumber, pageSize);

  3. In View
    @model Lxm.AspNetCore.PagedList.IPagedList<YourModelView>
    use this taghelper
    <pager id="pager" paged-list="@Model" asp-controller="YourController" asp-action="Index"></pager>

  4. Done.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 151 8/25/2018