Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Thinktecture Webinar async/await in .NET
Search
Sebastian Gingter
August 31, 2021
Programming
680
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thinktecture Webinar async/await in .NET
Slides for my webinar about async/await in .NET.
Sebastian Gingter
August 31, 2021
More Decks by Sebastian Gingter
See All by Sebastian Gingter
Pragmatische AI Agents: Mit LLMs, Tools & Gedächtnis zum Ziel
phoenixhawk
0
140
DDC 2025: p"AI"r Programming statt Vibe-Coding
phoenixhawk
0
150
EKON 2025 - Agents
phoenixhawk
0
190
EKON 2025 AI Coding
phoenixhawk
0
180
BASTA! 2025: Agents in Action: LLM's, Tools and Reasoning
phoenixhawk
0
190
From Zero to Hero: How to put GPT LLMs & Friends into your Applications
phoenixhawk
0
270
DWX 2025 - Talk to your data
phoenixhawk
0
96
BASTA! Spring 2025 - Halluzinationen, Prompt Injections & Co.
phoenixhawk
0
280
SEACON 2024 - Talk to your Data
phoenixhawk
0
320
Other Decks in Programming
See All in Programming
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
180
iOSDC2026登壇資料.pdf
riofujimon
0
180
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
160
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
370
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
260
SREの越境 / SRE Collaboration
y0hgi
2
280
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
300
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
440
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
360
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.4k
wkhtmltopdfの次どうするか問題2026
willnet
2
1.6k
Heart of Swift Concurrency
koher
0
960
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
540
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
460
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
290
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Code Reviewing Like a Champion
maltzj
528
40k
Chasing Engaging Ingredients in Design
codingconduct
0
330
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Transcript
None
2 Deep-dive in async/await bei Backend-APIs ▪ ▪ ▪ ▪
▪ ▪ ▪ ▪ ▪ Twitter:
3 ▪ ▪ ▪ (Theorie 😨) ▪ ▪ ▪ Deep-dive
in async/await bei Backend-APIs
12 Deep-dive in async/await bei Backend-APIs • • • •
• • •
13 Deep-dive in async/await bei Backend-APIs
14 Deep-dive in async/await bei Backend-APIs Task Task-Liste Threadpool T1
Threadpool T2 Kern 1 Kern 3 Kern 2 Kern 4 Threadpool T3 Threadpool T4 Threadpool Management Jeder Pool-Thread arbeitet Tasks in einer Endlosschleife ab Completed Tasks
15 • • • • • 🤯 Deep-dive in async/await
bei Backend-APIs
16 Deep-dive in async/await bei Backend-APIs
17 ▪ ▪ ▪ ▪ ▪ ▪ ⏳ ▪ ▪
▪ Deep-dive in async/await bei Backend-APIs ReadFile API: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile
18 ▪ ▪ ▪ ▪ ▪ ▪ ⏳ ▪ Deep-dive
in async/await bei Backend-APIs ReadFile API: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile
19 Deep-dive in async/await bei Backend-APIs
20 • • async Task<> MyMethodAsync() • • • await
OtherMethodAsync() • • await • • • • Deep-dive in async/await bei Backend-APIs
21 Deep-dive in async/await bei Backend-APIs
22 Deep-dive in async/await bei Backend-APIs
23 • • task.GetAwaiter().GetResult() → ❌ • Thread.Sleep() → ❌
• await Task.Delay() → ✔ • Thread.SpinWait() • → ❌ • → ✔ Deep-dive in async/await bei Backend-APIs
24 • • var task1 = DoSomethingAsync(); var task2 =
DoSomethingElseAsync(); await Task.WhenAll(task1, task2); • • • Task.Factory.StartNew(…, TaskCreationOptions.LongRunning); • • • Deep-dive in async/await bei Backend-APIs
25 • • • • Deep-dive in async/await bei Backend-APIs
26 Deep-dive in async/await bei Backend-APIs
27 ▪ ▪ ▪ ▪ ▪ ▪ Deep-dive in async/await
bei Backend-APIs
28 ▪ ▪ ▪ ▪ ▪ 😉 Deep-dive in async/await
bei Backend-APIs
None