Adding Filtering, Sorting And Pagination To a REST API | .NET 7

Published: 20 June 2023
on channel: Milan Jovanović
56,261
1.6k

Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/res...
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

REST APIs are the industry standard when it comes to building APIs. There are many nuances to building a good API, and it becomes more complicated in a Clean Architecture & DDD-styled system. I showed you in a previous video how to make a set of CRUD endpoints and some of the REST API best practices you should consider. And now, we're continuing our REST API journey by adding support for filtering, sorting, and pagination.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 Adding an endpoint for getting all records
3:22 Implementing Filtering in the API
6:06 Supporting LINQ Contains with ValueObjects
8:18 Introducing Sorting in the API
14:42 Adding Pagination support in the API
17:41 Wrapping the response in a PagedList


Watch video Adding Filtering, Sorting And Pagination To a REST API | .NET 7 online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 20 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 56,26 once and liked it 1.6 thousand people.