ASP.NET Core 2.1 MVC Paging (including filtering and sorting) solution using Entity Framework Core 2.1 and IEnumerable
More info: https://reflectionit.nl/blog/2017/paging-in-asp-net-core-mvc-and-entityframework-core
You can also use the NuGet package https://www.nuget.org/packages/ReflectionIT.Mvc.Paging/ Use https://www.nuget.org/packages/ReflectionIT.Mvc.Paging/2.4.0 if you are still using ASP.NET Core 2.0
Install-Package ReflectionIT.Mvc.Paging
- Current library now supports TotalRecordCount (2017-21-11) by mdemirci01