Skip to content

jmolla31/EzyPaging

Repository files navigation

EzyPaging

Minimal paging model and extensions for .NET Core projects

Classes provided:

  • PageModel: Paging model, linq-y format with skip & take integers.
  • PagedResult: Generic model for results with paging, provides a T generic Result and an Total of available results.
  • HttpRequestExtensions: Extension to extract a PageModel instance from the query parameters of an HttpRequest object.
  • IQueryableExtensions: Extension to apply the values from a PageModel instance to any IQueryable.

*Both extensions default to 0 if any value is missing. ** Query parameters names are harcoded to "skip" and "take" all lowercase characters.

About

Minimal paging model and extensions for .NET Core projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages