How to Implement Paging in ASP.NET Core

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 21

  • @bitcoinbunker
    @bitcoinbunker ปีที่แล้ว +1

    Really enjoyed this. I've been following a number of your guides to help me build a web application that I've wanted to build for ages. It's been difficult trying to splice them all together but so far I have managed. One thing I'd like to be able to do is have a "Number of records figure" at the bottom of the table next to the Previous/Next buttons.

  • @simo9445tsns
    @simo9445tsns ปีที่แล้ว +1

    Great guide! Thanks

  • @carnagelan
    @carnagelan 3 หลายเดือนก่อน

    Thank you for this, What would i change to add a go to last page. If i have 50 pages. Instead of clicking next all the time i want to go to last page

  • @russdawgbass
    @russdawgbass 10 หลายเดือนก่อน +2

    Doesn't this put every record into every call to Create? I mean you are sending in _dbContext.Customers.ToList(). When you do this aren't you sending every record already queried from the database? Wouldn't this get slower over time? Would it be preferred to just use say _dbContext.Customers and have Create accept an IEnumerable or am I misunderstanding?

    • @DigitalTECHJOINT
      @DigitalTECHJOINT  10 หลายเดือนก่อน

      You can cache the records to avoid fetching the data on every call. Tutorial is more on how to implement pagination you can optimize the project as per the project requirements

  • @upskillwithsadiq1283
    @upskillwithsadiq1283 2 ปีที่แล้ว +1

    It is Very Useful Session

    • @DigitalTECHJOINT
      @DigitalTECHJOINT  2 ปีที่แล้ว

      Thank You . It really inspires and motivates to do better. Do subscribe and share my channel with your friends and tech buddies to grow my channel and reach out to more developers . Thanks once again

  • @pratikshadake5311
    @pratikshadake5311 2 ปีที่แล้ว

    It was helpful...Thank You🙂

  • @Heavenhimanshu
    @Heavenhimanshu ปีที่แล้ว +1

    Hi bro, i have defined pageSize=5 but still getting display whole record

  • @asiveacemathambeka1789
    @asiveacemathambeka1789 2 ปีที่แล้ว +1

    This is very Helpful, would it work if I create the paging class inside the model?

  • @upskillwithsadiq1283
    @upskillwithsadiq1283 2 ปีที่แล้ว +1

    Do you have a Video on Filters

    • @DigitalTECHJOINT
      @DigitalTECHJOINT  2 ปีที่แล้ว

      No. We haven't released any video ONLY on ASP.NET filters however will plan to release after we release some videos on Blazor, AWS and full course on Razor (CRUD, Sorting, Pagination and search). Stay tuned with our channel. Thank You.

  • @manuelbitezadusto1400
    @manuelbitezadusto1400 ปีที่แล้ว +1

    super helpfull thank you, will subscribe to your chn right away

    • @DigitalTECHJOINT
      @DigitalTECHJOINT  ปีที่แล้ว +1

      Thanks so sweet of you. Thank you . Please do share our channel link with your friends /colleagues and help us grow our network. Thanks once again

  • @emekaokerue2337
    @emekaokerue2337 ปีที่แล้ว +1

    Thank you so much.

  • @NelRod-n6c
    @NelRod-n6c ปีที่แล้ว +1

    Where is the PageIndex incrementing?

    • @DigitalTECHJOINT
      @DigitalTECHJOINT  ปีที่แล้ว

      Hello, It's in the class file that I have crated in this video. Pls go through the video once again. thanks

  • @khaledalshammi5626
    @khaledalshammi5626 ปีที่แล้ว +1

    source code