Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
Uploaded by
Brandon Minnick, MBA
PPTX, PDF
167 views
Correcting common mistakes, async await
Correcting common mistakes, async await
Technology
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Downloaded 10 times
1
/ 29
2
/ 29
3
/ 29
4
/ 29
5
/ 29
6
/ 29
7
/ 29
8
/ 29
9
/ 29
10
/ 29
11
/ 29
12
/ 29
13
/ 29
14
/ 29
15
/ 29
16
/ 29
17
/ 29
18
/ 29
19
/ 29
20
/ 29
21
/ 29
22
/ 29
23
/ 29
24
/ 29
25
/ 29
26
/ 29
27
/ 29
28
/ 29
29
/ 29
More Related Content
PPTX
Easily Add GenAI to .NET Apps using Microsoft.Extensions.AI
by
Brandon Minnick, MBA
PPTX
Choosing The Best AWS Service For Your Website + API.pptx
by
Brandon Minnick, MBA
PPTX
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
PPTX
Correcting Common Mistakes, AsyncAwait.pptx
by
Brandon Minnick, MBA
PPTX
The .NET MAUI Community Toolkits.pptx
by
Brandon Minnick, MBA
PPTX
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
PPTX
Correcting Common Async Await Mistakes in .NET
by
Brandon Minnick, MBA
PPTX
AWS Toolkit.pptx
by
Brandon Minnick, MBA
Easily Add GenAI to .NET Apps using Microsoft.Extensions.AI
by
Brandon Minnick, MBA
Choosing The Best AWS Service For Your Website + API.pptx
by
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
Correcting Common Mistakes, AsyncAwait.pptx
by
Brandon Minnick, MBA
The .NET MAUI Community Toolkits.pptx
by
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
Correcting Common Async Await Mistakes in .NET
by
Brandon Minnick, MBA
AWS Toolkit.pptx
by
Brandon Minnick, MBA
More from Brandon Minnick, MBA
PPTX
Building GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
PPTX
Building MAUI UIs in C#.pptx
by
Brandon Minnick, MBA
PPTX
Creating Apps with .NET MAUI.pptx
by
Brandon Minnick, MBA
PPTX
Building GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
PPTX
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
PPTX
Consuming GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
PPTX
Correcting Common .NET Mistakes in Async Await .pptx
by
Brandon Minnick, MBA
PPTX
Building GraphQL API in C#.pptx
by
Brandon Minnick, MBA
PPTX
Introducing .NET MAUI Toolkit.pptx
by
Brandon Minnick, MBA
PPTX
Building MAUI UI in C#.pptx
by
Brandon Minnick, MBA
PPTX
Building GraphQL API in C#.pptx
by
Brandon Minnick, MBA
PPTX
Creating Apps with .NET MAUI
by
Brandon Minnick, MBA
PPTX
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
by
Brandon Minnick, MBA
PPTX
Creating Xamarin.Forms UIs is C#
by
Brandon Minnick, MBA
PPTX
The Future of Xamarin
by
Brandon Minnick, MBA
PPTX
Creating iOS & Android Apps using Xamarin
by
Brandon Minnick, MBA
PPTX
Xamarin + GraphQL
by
Brandon Minnick, MBA
PPTX
Creating Native iOS & Android Apps in C#
by
Brandon Minnick, MBA
PPTX
DevReach: Creating Xamarin.Forms UIs in C#
by
Brandon Minnick, MBA
PPTX
The Future of Xamarin
by
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
Building MAUI UIs in C#.pptx
by
Brandon Minnick, MBA
Creating Apps with .NET MAUI.pptx
by
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
by
Brandon Minnick, MBA
Consuming GraphQL APIs in C#.pptx
by
Brandon Minnick, MBA
Correcting Common .NET Mistakes in Async Await .pptx
by
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
by
Brandon Minnick, MBA
Introducing .NET MAUI Toolkit.pptx
by
Brandon Minnick, MBA
Building MAUI UI in C#.pptx
by
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
by
Brandon Minnick, MBA
Creating Apps with .NET MAUI
by
Brandon Minnick, MBA
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
by
Brandon Minnick, MBA
Creating Xamarin.Forms UIs is C#
by
Brandon Minnick, MBA
The Future of Xamarin
by
Brandon Minnick, MBA
Creating iOS & Android Apps using Xamarin
by
Brandon Minnick, MBA
Xamarin + GraphQL
by
Brandon Minnick, MBA
Creating Native iOS & Android Apps in C#
by
Brandon Minnick, MBA
DevReach: Creating Xamarin.Forms UIs in C#
by
Brandon Minnick, MBA
The Future of Xamarin
by
Brandon Minnick, MBA
Recently uploaded
PDF
January 2026 OpenMetadata Community Spotlight - OpenMetadata @ Wix.pdf
by
OpenMetadata
PDF
Getting Started with Apache Spark: Big Data Made Simple [Free Meetup]
by
Haim Michael
PDF
UiPath Automation Developer Associate Training Series 2026 - Session 1
by
DianaGray10
PDF
TrustArc Webinar - From Zero to Privacy Hero: Launching Your Program Right an...
by
TrustArc
PDF
ICT500 - CRITICAL AND CREATIVE THINKING FOR INFORMATION TECHNOLOGY SOLUTIONS:...
by
2024432452
PPTX
TechSprint (SJBIT) 2025-26 Hackathon Winners & Awards Ceremony
by
suhasspgdg
PDF
Agentic-Document-Extraction-2026-Presentation.pdf
by
Tamanna
PDF
Supercharge Your Copilot-Driven Collaboration with Microsoft 365 Agents SDK
by
Antti Koskela
PDF
Computer-Based Training (CBT) The Backbone of Modern Technical & Defence Trai...
by
computerbasedtrainin1
PDF
Dev Dives: Build and deploy agentic automations - the unified way
by
UiPathCommunity
PDF
Designing a Blog Using Wordpress
by
markzubi50
PPTX
TechSprint Inauguration at SJB Institute of Technology held on 18 December 2025
by
suhasspgdg
PPTX
Introduction to Industrial-Arts Grade 8 ppt Lesson 1
by
FSBTLEDNathanVince
PPTX
The Lex Wire Precedent: A Technical Standard for Machine-Mediated Authority ...
by
Jeff Howell
PDF
Transcript: EU regulations for the North American book supply chain - Tech Fo...
by
BookNet Canada
PDF
Post-Hackathon-Learnings-Maximizing-Impact-Beyond-the-Event.pdf
by
ishantyadav1111
PDF
CI CD Observability, Metrics and DORA - Shifting Left and Cleaning Up! - Febr...
by
Peter Souter
PPTX
TechSprint WinterHack — Top 10 Teams Pitching Session we are excited for pit...
by
bajpaitusharoffon678
PDF
Parental Control App for Phones_ The Complete 2026 Guide for Safer, Smarter P...
by
Ryan Cooper
PDF
When Drones Decide for Themselves_ Inside the Rise of Machine-Led Flight.pdf
by
Lyra Anderson
January 2026 OpenMetadata Community Spotlight - OpenMetadata @ Wix.pdf
by
OpenMetadata
Getting Started with Apache Spark: Big Data Made Simple [Free Meetup]
by
Haim Michael
UiPath Automation Developer Associate Training Series 2026 - Session 1
by
DianaGray10
TrustArc Webinar - From Zero to Privacy Hero: Launching Your Program Right an...
by
TrustArc
ICT500 - CRITICAL AND CREATIVE THINKING FOR INFORMATION TECHNOLOGY SOLUTIONS:...
by
2024432452
TechSprint (SJBIT) 2025-26 Hackathon Winners & Awards Ceremony
by
suhasspgdg
Agentic-Document-Extraction-2026-Presentation.pdf
by
Tamanna
Supercharge Your Copilot-Driven Collaboration with Microsoft 365 Agents SDK
by
Antti Koskela
Computer-Based Training (CBT) The Backbone of Modern Technical & Defence Trai...
by
computerbasedtrainin1
Dev Dives: Build and deploy agentic automations - the unified way
by
UiPathCommunity
Designing a Blog Using Wordpress
by
markzubi50
TechSprint Inauguration at SJB Institute of Technology held on 18 December 2025
by
suhasspgdg
Introduction to Industrial-Arts Grade 8 ppt Lesson 1
by
FSBTLEDNathanVince
The Lex Wire Precedent: A Technical Standard for Machine-Mediated Authority ...
by
Jeff Howell
Transcript: EU regulations for the North American book supply chain - Tech Fo...
by
BookNet Canada
Post-Hackathon-Learnings-Maximizing-Impact-Beyond-the-Event.pdf
by
ishantyadav1111
CI CD Observability, Metrics and DORA - Shifting Left and Cleaning Up! - Febr...
by
Peter Souter
TechSprint WinterHack — Top 10 Teams Pitching Session we are excited for pit...
by
bajpaitusharoffon678
Parental Control App for Phones_ The Complete 2026 Guide for Safer, Smarter P...
by
Ryan Cooper
When Drones Decide for Themselves_ Inside the Rise of Machine-Led Flight.pdf
by
Lyra Anderson
Correcting common mistakes, async await
3.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
5.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); }
6.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } Thread 1
7.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } Thread 2
8.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } Thread 1
10.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); }
11.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } private sealed class <ReadDataFromUrl>d_1 : IAsyncStateMachine
12.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } private string <data>5_3; private byte[] <result>5_2; private WebClient <wc>5_1; public string url;
13.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ async Task
ReadDataFromUrl(string url) { WebClient wc = new WebClient(); byte[] result = await wc.DownloadDataTaskAsync(url); string data = Encoding.ASCII.GetString(result); LoadData(data); } private void MoveNext();
14.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ public void
MoveNext() { uint num = (uint)this.$PC; this.$PC = -1; try { switch (num) { case 0: this.<wc>__0 = new WebClient(); this.$awaiter0 = this.<wc>__0.DownloadDataTaskAsync(this.url).GetAwaiter(); this.$PC = 1; ... return; break; case 1: this.<result>__1 = this.$awaiter0.GetResult(); this.<data>__2 = Encoding.ASCII.GetString(this.<result>__1); this.$this.LoadData(this.<data>__2); break; default: return; } } catch (Exception exception) { ... } this.$PC = -1; this.$builder.SetResult(); }
15.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ public void
MoveNext() { uint num = (uint)this.$PC; this.$PC = -1; try { switch (num) { case 0: this.<wc>__0 = new WebClient(); this.$awaiter0 = this.<wc>__0.DownloadDataTaskAsync(this.url).GetAwaiter(); this.$PC = 1; ... return; break; case 1: this.<result>__1 = this.$awaiter0.GetResult(); this.<data>__2 = Encoding.ASCII.GetString(this.<result>__1); this.$this.LoadData(this.<data>__2); break; default: return; } } catch (Exception exception) { ... } this.$PC = -1; this.$builder.SetResult(); } case 0: this.<wc>__0 = new WebClient(); this.$awaiter0 = this.<wc>__0.DownloadDataTaskAsync(this.url).GetAwaiter(); this.$PC = 1; ... return;
16.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ public void
MoveNext() { uint num = (uint)this.$PC; this.$PC = -1; try { switch (num) { case 0: this.<wc>__0 = new WebClient(); this.$awaiter0 = this.<wc>__0.DownloadDataTaskAsync(this.url).GetAwaiter(); this.$PC = 1; ... return; break; case 1: this.<result>__1 = this.$awaiter0.GetResult(); this.<data>__2 = Encoding.ASCII.GetString(this.<result>__1); this.$this.LoadData(this.<data>__2); break; default: return; } } catch (Exception exception) { ... } this.$PC = -1; this.$builder.SetResult(); } case 1: this.<result>__1 = this.$awaiter0.GetResult(); this.<data>__2 = Encoding.ASCII.GetString(this.<result>__1); this.$this.LoadData(this.<data>__2); break;
17.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/ public void
MoveNext() { uint num = (uint)this.$PC; this.$PC = -1; try { switch (num) { case 0: this.<wc>__0 = new WebClient(); this.$awaiter0 = this.<wc>__0.DownloadDataTaskAsync(this.url).GetAwaiter(); this.$PC = 1; ... return; break; case 1: this.<result>__1 = this.$awaiter0.GetResult(); this.<data>__2 = Encoding.ASCII.GetString(this.<result>__1); this.$this.LoadData(this.<data>__2); break; default: return; } } catch (Exception exception) { ... } this.$PC = -1; this.$builder.SetResult(); } try { catch (Exception exception) { . . . }
19.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
20.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
23.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
24.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
25.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
26.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
27.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
28.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
29.
@TheCodeTraveler https://www.codetraveler.io/THAT-2018-AsyncAwait/
Editor's Notes
#6
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
#12
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
#13
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
#28
Best way to learn – free videos Paid for instructors Certification, actually valued by employers Great ecosystem of books
Download