Soumettre la recherche
Mettre en ligne
Correcting common mistakes, async await
•
Télécharger en tant que PPTX, PDF
•
0 j'aime
•
53 vues
Brandon Minnick, MBA
Suivre
Correcting common mistakes, async await
Lire moins
Lire la suite
Technologie
Signaler
Signaler
1 sur 30
Télécharger maintenant
Recommandé
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Correcting Common Mistakes, AsyncAwait.pptx
Correcting Common Mistakes, AsyncAwait.pptx
Brandon Minnick, MBA
The .NET MAUI Community Toolkits.pptx
The .NET MAUI Community Toolkits.pptx
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Correcting Common Async Await Mistakes in .NET
Correcting Common Async Await Mistakes in .NET
Brandon Minnick, MBA
AWS Toolkit.pptx
AWS Toolkit.pptx
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
Building GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Building MAUI UIs in C#.pptx
Building MAUI UIs in C#.pptx
Brandon Minnick, MBA
Recommandé
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Correcting Common Mistakes, AsyncAwait.pptx
Correcting Common Mistakes, AsyncAwait.pptx
Brandon Minnick, MBA
The .NET MAUI Community Toolkits.pptx
The .NET MAUI Community Toolkits.pptx
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Correcting Common Async Await Mistakes in .NET
Correcting Common Async Await Mistakes in .NET
Brandon Minnick, MBA
AWS Toolkit.pptx
AWS Toolkit.pptx
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
Building GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Building MAUI UIs in C#.pptx
Building MAUI UIs in C#.pptx
Brandon Minnick, MBA
Creating Apps with .NET MAUI.pptx
Creating Apps with .NET MAUI.pptx
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
Building GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Consuming GraphQL APIs in C#.pptx
Consuming GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Correcting Common .NET Mistakes in Async Await .pptx
Correcting Common .NET Mistakes in Async Await .pptx
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Brandon Minnick, MBA
Introducing .NET MAUI Toolkit.pptx
Introducing .NET MAUI Toolkit.pptx
Brandon Minnick, MBA
Building MAUI UI in C#.pptx
Building MAUI UI in C#.pptx
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Brandon Minnick, MBA
Creating Apps with .NET MAUI
Creating Apps with .NET MAUI
Brandon Minnick, MBA
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Brandon Minnick, MBA
Creating Xamarin.Forms UIs is C#
Creating Xamarin.Forms UIs is C#
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Creating iOS & Android Apps using Xamarin
Creating iOS & Android Apps using Xamarin
Brandon Minnick, MBA
Xamarin + GraphQL
Xamarin + GraphQL
Brandon Minnick, MBA
Creating Native iOS & Android Apps in C#
Creating Native iOS & Android Apps in C#
Brandon Minnick, MBA
DevReach: Creating Xamarin.Forms UIs in C#
DevReach: Creating Xamarin.Forms UIs in C#
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Creating Serverless Apps without Writing Any Code
Creating Serverless Apps without Writing Any Code
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Contenu connexe
Plus de Brandon Minnick, MBA
Creating Apps with .NET MAUI.pptx
Creating Apps with .NET MAUI.pptx
Brandon Minnick, MBA
Building GraphQL APIs in C#.pptx
Building GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Brandon Minnick, MBA
Consuming GraphQL APIs in C#.pptx
Consuming GraphQL APIs in C#.pptx
Brandon Minnick, MBA
Correcting Common .NET Mistakes in Async Await .pptx
Correcting Common .NET Mistakes in Async Await .pptx
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Brandon Minnick, MBA
Introducing .NET MAUI Toolkit.pptx
Introducing .NET MAUI Toolkit.pptx
Brandon Minnick, MBA
Building MAUI UI in C#.pptx
Building MAUI UI in C#.pptx
Brandon Minnick, MBA
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Brandon Minnick, MBA
Creating Apps with .NET MAUI
Creating Apps with .NET MAUI
Brandon Minnick, MBA
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Brandon Minnick, MBA
Creating Xamarin.Forms UIs is C#
Creating Xamarin.Forms UIs is C#
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Creating iOS & Android Apps using Xamarin
Creating iOS & Android Apps using Xamarin
Brandon Minnick, MBA
Xamarin + GraphQL
Xamarin + GraphQL
Brandon Minnick, MBA
Creating Native iOS & Android Apps in C#
Creating Native iOS & Android Apps in C#
Brandon Minnick, MBA
DevReach: Creating Xamarin.Forms UIs in C#
DevReach: Creating Xamarin.Forms UIs in C#
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Creating Serverless Apps without Writing Any Code
Creating Serverless Apps without Writing Any Code
Brandon Minnick, MBA
The Future of Xamarin
The Future of Xamarin
Brandon Minnick, MBA
Plus de Brandon Minnick, MBA
(20)
Creating Apps with .NET MAUI.pptx
Creating Apps with .NET MAUI.pptx
Building GraphQL APIs in C#.pptx
Building GraphQL APIs in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Introduction to Serverless with AWS Lambda in C#.pptx
Consuming GraphQL APIs in C#.pptx
Consuming GraphQL APIs in C#.pptx
Correcting Common .NET Mistakes in Async Await .pptx
Correcting Common .NET Mistakes in Async Await .pptx
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Introducing .NET MAUI Toolkit.pptx
Introducing .NET MAUI Toolkit.pptx
Building MAUI UI in C#.pptx
Building MAUI UI in C#.pptx
Building GraphQL API in C#.pptx
Building GraphQL API in C#.pptx
Creating Apps with .NET MAUI
Creating Apps with .NET MAUI
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Creating AppsWith .NET MAUIfor iOS, Android, macOS + Windows
Creating Xamarin.Forms UIs is C#
Creating Xamarin.Forms UIs is C#
The Future of Xamarin
The Future of Xamarin
Creating iOS & Android Apps using Xamarin
Creating iOS & Android Apps using Xamarin
Xamarin + GraphQL
Xamarin + GraphQL
Creating Native iOS & Android Apps in C#
Creating Native iOS & Android Apps in C#
DevReach: Creating Xamarin.Forms UIs in C#
DevReach: Creating Xamarin.Forms UIs in C#
The Future of Xamarin
The Future of Xamarin
Creating Serverless Apps without Writing Any Code
Creating Serverless Apps without Writing Any Code
The Future of Xamarin
The Future of Xamarin
Dernier
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
RankYa
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Dernier
(20)
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Correcting common mistakes, async await
1.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
4.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
5.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-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/DevFestWeekend-AsyncAwait/
20.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
23.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
24.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
25.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
26.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
27.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
28.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
29.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
30.
@TheCodeTraveler https://www.codetraveler.io/DevFestWeekend-AsyncAwait/
Notes de l'éditeur
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
Every time we add the `async` keyword, the compiler creates a new class. Each class increases our app size by appx. 100 bytes
Best way to learn – free videos Paid for instructors Certification, actually valued by employers Great ecosystem of books
Télécharger maintenant