Asynchronous APIs with .NET

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • In this video we build a .NET API solution around the Asynchronous Request Reply pattern. This allows is to decouple our APIs from long running processes. In addition we look at some competing approaches to achieve the same outcome, specifically: call backs (by using webhooks) and persistent connections using websockets / SignalR.
    🌐 Links 🌐
    💾 GitHub Repo: github.com/bin...
    🎓 My other courses: lesjackson.net
    📕 My Book: link.springer....
    🤩 Patreon: / binarythistle
    🌲 Linktree: linktr.ee/bina...
    🔗 Asynchronous Request Reply pattern: learn.microsof...
    ⏲️ Time Codes ⏲️
    Introduction & Theory
    0:43 - Welcome
    1:19 - Video use case
    5:51 - Intermission
    7:54 - Asynchronous Request Reply
    10:56 - Call backs with webhooks
    13:35 - Persistent connection with websockets
    14:44 - Scaffold solution
    21:21 - Model
    26:37 - DB Context
    30:04 - Migrations
    32:26 - Start endpoint
    41:36 - Status endpoint
    54:53 - Final endpoint
    1:00:28 - Patreon credits

Комментарии • 35

  • @mto89x
    @mto89x 9 месяцев назад

    As always it's a pleasure watching your clear video to keep updated as .NET developers

  • @magmohk6386
    @magmohk6386 Год назад

    I loved this guy.. he's brilliant

  • @gerharddiedericks2120
    @gerharddiedericks2120 Год назад +1

    Simple, solid and useful as always. Love your bits - thanks man!

  • @rossimac
    @rossimac Год назад +4

    Great video, Les, as is tradition. One suggestion is at 36:44 you use AddAsync when likely you can just use Add, as there is no query being made to the database to work out sequence IDs. In the same way you'd expect to use Remove, which doesn't have an Async version..

  • @avecesar
    @avecesar Год назад

    Thank you for sharing.... the way you explain things is supreme.

  • @ranjanmaithani6263
    @ranjanmaithani6263 Год назад

    You are the man les. Thanks for this video.

  • @PriyadarshiPrashant
    @PriyadarshiPrashant Год назад

    recently found your channel oh god i love it each and every second of informative videos of your, thanks you soo much

  • @h.verheijen7872
    @h.verheijen7872 Год назад

    As always good accessible content presented in a way understandable and to follow very well. thanks a lot. very helpful.

  • @khalilaibrahim1278
    @khalilaibrahim1278 Год назад

    You are amazing, many thanks for making those videos. Please continue

  • @avanthasiriwardana
    @avanthasiriwardana Год назад

    Les King is back... thanks Les

  • @bryanplum9061
    @bryanplum9061 Год назад

    another amazing and powerfull tutorial!! Thanks a lot for this work you´ve been doing!!

  • @chanakyakumar
    @chanakyakumar Год назад

    thanks for putting up amazing content. Just subscribed patreon to support your work.

  • @16M-w4y
    @16M-w4y 5 месяцев назад

    is very very useful 😎😎😎😎😍😍😍😍 , thanks

  •  Год назад

    Thanks Les for this great tutorial. 👍

  • @rmclean101
    @rmclean101 6 месяцев назад

    Awesome, thank you!!

  • @michaelcherenet198
    @michaelcherenet198 Год назад

    Thanks, a lot for your valuable tutorial.

  • @dp-bhatt
    @dp-bhatt Год назад

    Thank you very much for the wonderful video ❤❤❤

  • @dule88rs
    @dule88rs Год назад

    Very nice topic!

  • @magmohk6386
    @magmohk6386 Год назад

    Excellent video

  • @martinkhachatryan3394
    @martinkhachatryan3394 Год назад

    Best content available

  • @christiansandoval7465
    @christiansandoval7465 Год назад

    Awasome tutorial, thnks a lot

  • @Дима-г9х6п
    @Дима-г9х6п Год назад

    Thanks as always

  • @abudavid5929
    @abudavid5929 Год назад

    Nice Video but I love to use Dapper.

  • @mohammadramezani1233
    @mohammadramezani1233 Год назад

    Awsome please more video

  • @benden2918
    @benden2918 9 месяцев назад

    Hi Les, great video thanks! Had a burning question. In the example in the post method there are 2 await lines before returning the response accepted. These await means accepted is return when all the products are created in the db? So this can take a while whereas the intention was to give an immediate response back "accepted". Which point am I missing here? Thanks

  • @vladislavyanovsky902
    @vladislavyanovsky902 Год назад

    Thank you

  • @16M-w4y
    @16M-w4y Год назад

    Hi Leo
    I hope that you will give a course on building a clean architecture or an onion architecture step by step in order to complete our curriculum 😔😔

  • @kallebysantos5167
    @kallebysantos5167 Год назад

    Maybe a SSE endpoint would be a nicer solution to Status Endpoint

  • @pawekarasinski9135
    @pawekarasinski9135 Год назад

    👍

  • @EmptyGlass99
    @EmptyGlass99 Год назад +2

    I don't think there's a satisfactory async solution. They all have drawbacks. Webhooks is the least clunky in my opinion.

  • @kava2372
    @kava2372 Год назад

    "promo sm"

  • @kos5816
    @kos5816 Год назад

    huge dislike of this approach, it basically provokes clients to ddos me, it’s not resolution of the problem, but creation of new one

    • @antonio_carvalho
      @antonio_carvalho 8 месяцев назад

      "I don't like this thing you call a hammer, it messes up my screws."

  • @alexeimejikovski2452
    @alexeimejikovski2452 8 месяцев назад

    Sorry mate...1 hour video is too much for that matter. Too much talking. Very interesting topic but too damn long... skipping all your videos