Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

How To Make Your API Idempotent To Stop Duplicate Requests

Автор: Milan Jovanović

Загружено: 2023-07-21

Просмотров: 30606

Описание:

☄️ 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

How To Make Your API Idempotent To Stop Duplicate Requests

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#5932 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "WCCkEe_Hy2Y" ["related_video_title"]=> string(58) "Get Rid of Exceptions in Your Code With the Result Pattern" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [1]=> object(stdClass)#5905 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "gsAuFIhXz3g" ["related_video_title"]=> string(51) "Fix Your Controllers By Refactoring To Minimal APIs" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [2]=> object(stdClass)#5930 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "t99NvIazD68" ["related_video_title"]=> string(49) "Idempotency in APIs: you should be aware of this!" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(26) "Software Developer Diaries" } [3]=> object(stdClass)#5937 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "4abSfjdzqms" ["related_video_title"]=> string(40) "How to Add Health Checks in ASP.NET Core" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [4]=> object(stdClass)#5916 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "x_yeKj7l-1Q" ["related_video_title"]=> string(124) "Type vs Interface – что выбрать и почему? | TypeScript | Вопросы с собеседований" ["posted_time"]=> string(21) "7 дней назад" ["channelName"]=> string(51) "profrontend | Екатерина Нанивская" } [5]=> object(stdClass)#5934 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "kwehxBDX_o8" ["related_video_title"]=> string(62) "How I Use The Generic Repository Pattern In Clean Architecture" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [6]=> object(stdClass)#5929 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "_jVL2-x1vXQ" ["related_video_title"]=> string(128) "⚡️Трамп внезапно запросил помощь у Путина || Зеленского бросает НАТО?" ["posted_time"]=> string(23) "6 часов назад" ["channelName"]=> string(23) "Время Прядко" } [7]=> object(stdClass)#5939 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "_u6v4D6qgDI" ["related_video_title"]=> string(58) "Middleware Pattern For HttpClient With Delegating Handlers" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [8]=> object(stdClass)#5915 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "59Ce4O3J7Do" ["related_video_title"]=> string(53) "Make Your REST API Discoverable With HATEOAS | .NET 7" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(16) "Milan Jovanović" } [9]=> object(stdClass)#5933 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "HPSnQapJxQg" ["related_video_title"]=> string(57) "Арест Z-блогера (English subtitles) @Max_Katz" ["posted_time"]=> string(21) "1 день назад" ["channelName"]=> string(19) "Максим Кац" } }
Get Rid of Exceptions in Your Code With the Result Pattern

Get Rid of Exceptions in Your Code With the Result Pattern

Fix Your Controllers By Refactoring To Minimal APIs

Fix Your Controllers By Refactoring To Minimal APIs

Idempotency in APIs: you should be aware of this!

Idempotency in APIs: you should be aware of this!

How to Add Health Checks in ASP.NET Core

How to Add Health Checks in ASP.NET Core

Type vs Interface – что выбрать и почему? | TypeScript | Вопросы с собеседований

Type vs Interface – что выбрать и почему? | TypeScript | Вопросы с собеседований

How I Use The Generic Repository Pattern In Clean Architecture

How I Use The Generic Repository Pattern In Clean Architecture

⚡️Трамп внезапно запросил помощь у Путина || Зеленского бросает НАТО?

⚡️Трамп внезапно запросил помощь у Путина || Зеленского бросает НАТО?

Middleware Pattern For HttpClient With Delegating Handlers

Middleware Pattern For HttpClient With Delegating Handlers

Make Your REST API Discoverable With HATEOAS | .NET 7

Make Your REST API Discoverable With HATEOAS | .NET 7

Арест Z-блогера (English subtitles) @Max_Katz

Арест Z-блогера (English subtitles) @Max_Katz

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]