No video

Asynchronous APIs with .NET

  Рет қаралды 38,501

Les Jackson

Les Jackson

Күн бұрын

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 8 ай бұрын
As always it's a pleasure watching your clear video to keep updated as .NET developers
@rossimac
@rossimac Жыл бұрын
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..
@gerharddiedericks2120
@gerharddiedericks2120 Жыл бұрын
Simple, solid and useful as always. Love your bits - thanks man!
@avecesar
@avecesar Жыл бұрын
Thank you for sharing.... the way you explain things is supreme.
@magmohk6386
@magmohk6386 Жыл бұрын
I loved this guy.. he's brilliant
@PriyadarshiPrashant
@PriyadarshiPrashant Жыл бұрын
recently found your channel oh god i love it each and every second of informative videos of your, thanks you soo much
@ranjanmaithani6263
@ranjanmaithani6263 Жыл бұрын
You are the man les. Thanks for this video.
@avanthasiriwardana
@avanthasiriwardana Жыл бұрын
Les King is back... thanks Les
@h.verheijen7872
@h.verheijen7872 Жыл бұрын
As always good accessible content presented in a way understandable and to follow very well. thanks a lot. very helpful.
@rmclean101
@rmclean101 5 ай бұрын
Awesome, thank you!!
@khalilaibrahim1278
@khalilaibrahim1278 Жыл бұрын
You are amazing, many thanks for making those videos. Please continue
@chanakyakumar
@chanakyakumar Жыл бұрын
thanks for putting up amazing content. Just subscribed patreon to support your work.
@bryanplum9061
@bryanplum9061 Жыл бұрын
another amazing and powerfull tutorial!! Thanks a lot for this work you´ve been doing!!
@martinkhachatryan3394
@martinkhachatryan3394 Жыл бұрын
Best content available
Жыл бұрын
Thanks Les for this great tutorial. 👍
@dule88rs
@dule88rs Жыл бұрын
Very nice topic!
@benden2918
@benden2918 8 ай бұрын
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
@michaelcherenet198
@michaelcherenet198 Жыл бұрын
Thanks, a lot for your valuable tutorial.
@magmohk6386
@magmohk6386 Жыл бұрын
Excellent video
@dp-bhatt
@dp-bhatt Жыл бұрын
Thank you very much for the wonderful video ❤❤❤
@user-lo9ih5wd1l
@user-lo9ih5wd1l 4 ай бұрын
is very very useful 😎😎😎😎😍😍😍😍 , thanks
@user-xu8dq5nj3e
@user-xu8dq5nj3e Жыл бұрын
Thanks as always
@christiansandoval7465
@christiansandoval7465 Жыл бұрын
Awasome tutorial, thnks a lot
@abudavid5929
@abudavid5929 Жыл бұрын
Nice Video but I love to use Dapper.
@user-lo9ih5wd1l
@user-lo9ih5wd1l Жыл бұрын
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 😔😔
@mohammadramezani1233
@mohammadramezani1233 Жыл бұрын
Awsome please more video
@vladislavyanovsky902
@vladislavyanovsky902 Жыл бұрын
Thank you
@kallebysantos5167
@kallebysantos5167 Жыл бұрын
Maybe a SSE endpoint would be a nicer solution to Status Endpoint
@pawekarasinski9135
@pawekarasinski9135 Жыл бұрын
👍
@EmptyGlass99
@EmptyGlass99 Жыл бұрын
I don't think there's a satisfactory async solution. They all have drawbacks. Webhooks is the least clunky in my opinion.
@bloopers2967
@bloopers2967 Жыл бұрын
What other solutions are there?
@kos5816
@kos5816 10 ай бұрын
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 7 ай бұрын
"I don't like this thing you call a hammer, it messes up my screws."
@kava2372
@kava2372 Жыл бұрын
"promo sm"
@alexeimejikovski2452
@alexeimejikovski2452 7 ай бұрын
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
That's NOT How Async And Await Works in .NET!
12:25
Codewrinkles
Рет қаралды 21 М.
GraphQL API with .NET 5 and Hot Chocolate
3:49:42
Les Jackson
Рет қаралды 238 М.
When you discover a family secret
00:59
im_siowei
Рет қаралды 25 МЛН
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 7 МЛН
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 312 М.
Custom HTTPS Dev Environment using .NET Core, Kestrel & certificates
1:01:33
What is AsyncAPI?
7:22
IBM Technology
Рет қаралды 17 М.
Redis as a Primary DB using a .NET 6 API
2:21:21
Les Jackson
Рет қаралды 69 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 273 М.
Settling the Biggest Await Async Debate in .NET
14:47
Nick Chapsas
Рет қаралды 143 М.
Avoiding long running HTTP API requests.
7:24
CodeOpinion
Рет қаралды 15 М.
Deep Dive into REST API Design and Implementation Best Practices
12:02
Software Developer Diaries
Рет қаралды 47 М.
Build an API Gateway with Envoy and use with .NET Core APIs
1:51:27
When you discover a family secret
00:59
im_siowei
Рет қаралды 25 МЛН