Asynchronous APIs with .NET
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: https://github.com/binarythistle/S06E02—Asynchronous-APIs-
🎓 My other courses: https://lesjackson.net
📕 My Book: https://link.springer.com/book/10.1007/978-1-4842-6255-9
🤩 Patreon: https://www.patreon.com/binarythistle
🌲 Linktree: https://linktr.ee/binarythistle
🔗 Asynchronous Request Reply pattern: https://learn.microsoft.com/en-us/azure/architecture/patterns/async-request-reply?WT.mc_id=DX-MVP-5004571
⏲️ 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