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

Опубликовано: 20 Июнь 2023
на канале: 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


Смотрите видео Adding Filtering, Sorting And Pagination To a REST API | .NET 7 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Milan Jovanović 20 Июнь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 56,26 раз и оно понравилось 1.6 тысяч людям.