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
As always it's a pleasure watching your clear video to keep updated as .NET developers
I loved this guy.. he's brilliant
Simple, solid and useful as always. Love your bits - thanks man!
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..
Thank you for sharing.... the way you explain things is supreme.
You are the man les. Thanks for this video.
recently found your channel oh god i love it each and every second of informative videos of your, thanks you soo much
As always good accessible content presented in a way understandable and to follow very well. thanks a lot. very helpful.
You are amazing, many thanks for making those videos. Please continue
Les King is back... thanks Les
another amazing and powerfull tutorial!! Thanks a lot for this work you´ve been doing!!
thanks for putting up amazing content. Just subscribed patreon to support your work.
is very very useful 😎😎😎😎😍😍😍😍 , thanks
Thanks Les for this great tutorial. 👍
Awesome, thank you!!
Thanks, a lot for your valuable tutorial.
Thank you very much for the wonderful video ❤❤❤
Very nice topic!
Excellent video
Best content available
Awasome tutorial, thnks a lot
Thanks as always
Nice Video but I love to use Dapper.
Awsome please more video
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
Thank you
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 😔😔
Maybe a SSE endpoint would be a nicer solution to Status Endpoint
👍
I don't think there's a satisfactory async solution. They all have drawbacks. Webhooks is the least clunky in my opinion.
What other solutions are there?
"promo sm"
huge dislike of this approach, it basically provokes clients to ddos me, it’s not resolution of the problem, but creation of new one
"I don't like this thing you call a hammer, it messes up my screws."
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