У нас вы можете посмотреть бесплатно How To Make Your API Idempotent To Stop Duplicate Requests или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
☄️ 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 Idempotency is an important constraint for APIs - but how do you make your API idempotent? That's what I'm going to show you in this video. The client will be responsible for sending an idempotency key value that will uniquely identify the idempotent request. Then we will use MediatR pipeline behavior to implement a generic solution. 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 What is Idempotency? 0:37 Defining an IdempotentCommand abstraction 1:40 Parsing the request ID from the X-Idempotency-Key header 3:10 Adding a MediatR pipeline behavior for IdempotentCommand 7:14 Implementing the IdempotencyService class 11:02 How the Idempotent API works 13:19 Important things to consider when implementing Idempotency