Add Filtering, Sorting & Pagination to .NET 7 REST API

Learn to implement filtering, sorting, and pagination in your .NET 7 REST API. Get the free source code and master modular architecture! 🚀

Add Filtering, Sorting & Pagination to .NET 7 REST API
Milan Jovanović
79.1K views • Jun 20, 2023
Add Filtering, Sorting & Pagination to .NET 7 REST API

About this video

Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/rest-api-p2
☄️ 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: https://www.patreon.com/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:
https://www.youtube.com/@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

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

79.1K

Likes

2.1K

Duration

24:02

Published

Jun 20, 2023

User Reviews

4.7
(15)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.