Code Monkey home page Code Monkey logo

dotnetpaging's Introduction

Data paging in .NET Framework

Sample solution that answers one very popular question: how to build data paging support to my .NET application?

What's included?

Sample solution contains the following examples:

  • Pager classes for data and presentation layer
  • EF Core extension methods for paged data (IQueryable)
  • NHibernate extensions methods for paged data (LINQ, ICriteria, QueryOver)
  • Extension methods for pages data with AutoMapper mapping
  • ASP.NET Core 2.2 web application (Entity Framework Core, NHibernate)
  • ASP.NET MVC (Entity Framework)
  • Pager view component, tag helper and partial view
  • Database script for SQL Server

NHibernate samples are included in DotNetPaging.AspNetCore project.

Read more about paging

More about my work on ASP.NET/ASP.NET Core paging can be found in these blog posts:

dotnetpaging's People

Contributors

gpeipman avatar ikopytko avatar joegalledraw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnetpaging's Issues

Unsupported SQL Server Prior to SQL Server 2012 - OFFSET-FETCH clause problem

I have tried to connect to a SQL Server 2018 R2 instance but it causes the following error:

SqlException: Incorrect syntax near 'OFFSET'.
Invalid usage of the option NEXT in the FETCH statement.

I used DotNetPaging.AspNetCore project to test it.

Is it possible to make some changes to use SQL Server 2018 R2 instead of upgrading to SQL Server 2012 or later?

Automapper Error

I created my Asp .net core project like your project structure. But, I'm facing with this "Mapper not initialized." error. Where do I need to update? Thanks.

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.