Soumettre la recherche
Mettre en ligne
CSharp 5 Async
•
Télécharger en tant que PPTX, PDF
•
1 j'aime
•
542 vues
Valdis Iljuconoks
Suivre
Technologie
Signaler
Partager
Signaler
Partager
1 sur 40
Télécharger maintenant
Recommandé
Asynchronous Programming in C# - Part 1
Asynchronous Programming in C# - Part 1
Mindfire Solutions
Async Await for Mobile Apps
Async Await for Mobile Apps
Craig Dunn
Using Async in your Mobile Apps - Marek Safar
Using Async in your Mobile Apps - Marek Safar
Xamarin
Reflection in Pharo5
Reflection in Pharo5
Marcus Denker
Async CTP 3 Presentation for MUGH 2012
Async CTP 3 Presentation for MUGH 2012
Sri Kanth
Swift, a quick overview
Swift, a quick overview
Julian Król
Asynchronous programming in .net 4.5 with c#
Asynchronous programming in .net 4.5 with c#
Binu Bhasuran
Reflection in Pharo: Beyond Smalltak
Reflection in Pharo: Beyond Smalltak
Marcus Denker
Recommandé
Asynchronous Programming in C# - Part 1
Asynchronous Programming in C# - Part 1
Mindfire Solutions
Async Await for Mobile Apps
Async Await for Mobile Apps
Craig Dunn
Using Async in your Mobile Apps - Marek Safar
Using Async in your Mobile Apps - Marek Safar
Xamarin
Reflection in Pharo5
Reflection in Pharo5
Marcus Denker
Async CTP 3 Presentation for MUGH 2012
Async CTP 3 Presentation for MUGH 2012
Sri Kanth
Swift, a quick overview
Swift, a quick overview
Julian Król
Asynchronous programming in .net 4.5 with c#
Asynchronous programming in .net 4.5 with c#
Binu Bhasuran
Reflection in Pharo: Beyond Smalltak
Reflection in Pharo: Beyond Smalltak
Marcus Denker
C# 5 deep drive into asynchronous programming
C# 5 deep drive into asynchronous programming
Praveen Prajapati
Dynamically Composing Collection Operations through Collection Promises
Dynamically Composing Collection Operations through Collection Promises
Marcus Denker
Variables in Pharo5
Variables in Pharo5
Marcus Denker
Async-await best practices in 10 minutes
Async-await best practices in 10 minutes
Paulo Morgado
Ddd melbourne 2011 C# async ctp
Ddd melbourne 2011 C# async ctp
Pratik Khasnabis
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Christian Nagel
Introduction to Monix Coeval
Introduction to Monix Coeval
Knoldus Inc.
RoelTyper
RoelTyper
ESUG
Async in .NET
Async in .NET
RTigger
Swift
Swift
scandiweb
Pure functions
Pure functions
Per Arneng
FlawDetector - Rubykaigi2013 LT
FlawDetector - Rubykaigi2013 LT
ginriki
Function in Python
Function in Python
Md. Shafiuzzaman Hira
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
Eclipse Day India
iOS advanced architecture workshop 3h edition
iOS advanced architecture workshop 3h edition
Jorge Ortiz
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
Xamarin
Code Nomads meetup June 2018 - Angular for Java developers
Code Nomads meetup June 2018 - Angular for Java developers
Bert Jan Schrijver
J-Spring 2018 - Angular for Java developers
J-Spring 2018 - Angular for Java developers
Bert Jan Schrijver
OpenValue meetup July 2018 - Angular for Java developers
OpenValue meetup July 2018 - Angular for Java developers
Bert Jan Schrijver
Asynchronous javascript
Asynchronous javascript
Eman Mohamed
Loving data with F#
Loving data with F#
Valdis Iljuconoks
Lap around Visual Studio 2013
Lap around Visual Studio 2013
Valdis Iljuconoks
Contenu connexe
Tendances
C# 5 deep drive into asynchronous programming
C# 5 deep drive into asynchronous programming
Praveen Prajapati
Dynamically Composing Collection Operations through Collection Promises
Dynamically Composing Collection Operations through Collection Promises
Marcus Denker
Variables in Pharo5
Variables in Pharo5
Marcus Denker
Async-await best practices in 10 minutes
Async-await best practices in 10 minutes
Paulo Morgado
Ddd melbourne 2011 C# async ctp
Ddd melbourne 2011 C# async ctp
Pratik Khasnabis
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Christian Nagel
Introduction to Monix Coeval
Introduction to Monix Coeval
Knoldus Inc.
RoelTyper
RoelTyper
ESUG
Async in .NET
Async in .NET
RTigger
Swift
Swift
scandiweb
Pure functions
Pure functions
Per Arneng
FlawDetector - Rubykaigi2013 LT
FlawDetector - Rubykaigi2013 LT
ginriki
Function in Python
Function in Python
Md. Shafiuzzaman Hira
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
Eclipse Day India
iOS advanced architecture workshop 3h edition
iOS advanced architecture workshop 3h edition
Jorge Ortiz
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
Xamarin
Code Nomads meetup June 2018 - Angular for Java developers
Code Nomads meetup June 2018 - Angular for Java developers
Bert Jan Schrijver
J-Spring 2018 - Angular for Java developers
J-Spring 2018 - Angular for Java developers
Bert Jan Schrijver
OpenValue meetup July 2018 - Angular for Java developers
OpenValue meetup July 2018 - Angular for Java developers
Bert Jan Schrijver
Asynchronous javascript
Asynchronous javascript
Eman Mohamed
Tendances
(20)
C# 5 deep drive into asynchronous programming
C# 5 deep drive into asynchronous programming
Dynamically Composing Collection Operations through Collection Promises
Dynamically Composing Collection Operations through Collection Promises
Variables in Pharo5
Variables in Pharo5
Async-await best practices in 10 minutes
Async-await best practices in 10 minutes
Ddd melbourne 2011 C# async ctp
Ddd melbourne 2011 C# async ctp
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Introduction to Monix Coeval
Introduction to Monix Coeval
RoelTyper
RoelTyper
Async in .NET
Async in .NET
Swift
Swift
Pure functions
Pure functions
FlawDetector - Rubykaigi2013 LT
FlawDetector - Rubykaigi2013 LT
Function in Python
Function in Python
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
Eclipse Day India 2015 - Unleashing the Java 8 Tooling in Eclipse
iOS advanced architecture workshop 3h edition
iOS advanced architecture workshop 3h edition
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
C# Async on iOS and Android - Miguel de Icaza, CTO of Xamarin
Code Nomads meetup June 2018 - Angular for Java developers
Code Nomads meetup June 2018 - Angular for Java developers
J-Spring 2018 - Angular for Java developers
J-Spring 2018 - Angular for Java developers
OpenValue meetup July 2018 - Angular for Java developers
OpenValue meetup July 2018 - Angular for Java developers
Asynchronous javascript
Asynchronous javascript
En vedette
Loving data with F#
Loving data with F#
Valdis Iljuconoks
Lap around Visual Studio 2013
Lap around Visual Studio 2013
Valdis Iljuconoks
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Valdis Iljuconoks
Client side development with knockout.js
Client side development with knockout.js
Valdis Iljuconoks
INDIAN LOVE CALL Indián szerelmi dal
INDIAN LOVE CALL Indián szerelmi dal
DIO GYULA
Parallel Development in VS10
Parallel Development in VS10
Valdis Iljuconoks
Parallel development in VS 2012
Parallel development in VS 2012
Valdis Iljuconoks
HONEYMOON IN VENICE(mandolin) Mézeshetek Velencében
HONEYMOON IN VENICE(mandolin) Mézeshetek Velencében
DIO GYULA
En vedette
(8)
Loving data with F#
Loving data with F#
Lap around Visual Studio 2013
Lap around Visual Studio 2013
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Client side development with knockout.js
Client side development with knockout.js
INDIAN LOVE CALL Indián szerelmi dal
INDIAN LOVE CALL Indián szerelmi dal
Parallel Development in VS10
Parallel Development in VS10
Parallel development in VS 2012
Parallel development in VS 2012
HONEYMOON IN VENICE(mandolin) Mézeshetek Velencében
HONEYMOON IN VENICE(mandolin) Mézeshetek Velencében
Similaire à CSharp 5 Async
Task parallel library presentation
Task parallel library presentation
ahmed sayed
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
Xamarin
Async Programming in C# 5
Async Programming in C# 5
Pratik Khasnabis
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
jeffz
Asynchronous programming in ASP.NET
Asynchronous programming in ASP.NET
Alex Thissen
Async/Await Best Practices
Async/Await Best Practices
Particular Software
End to-end async and await
End to-end async and await
vfabro
How to meets Async and Task
How to meets Async and Task
Kouji Matsui
C# Async Await
C# Async Await
Simplilearn
Training – Going Async
Training – Going Async
Betclic Everest Group Tech Team
Code Generation for Azure with .net
Code Generation for Azure with .net
Marco Parenzan
Asynchronous Programming.pptx
Asynchronous Programming.pptx
Aayush Chimaniya
Rethinking the debugger
Rethinking the debugger
Iulian Dragos
Parallel and Async Programming With C#
Parallel and Async Programming With C#
Rainer Stropek
Why scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with this
Ruslan Shevchenko
Fluentd at HKOScon
Fluentd at HKOScon
N Masahiro
C# 5.0
C# 5.0
ali raza
we45 DEFCON Workshop - Building AppSec Automation with Python
we45 DEFCON Workshop - Building AppSec Automation with Python
Abhay Bhargav
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step Functions
Amazon Web Services
F# and SignalR for a FastWeb
F# and SignalR for a FastWeb
Riccardo Terrell
Similaire à CSharp 5 Async
(20)
Task parallel library presentation
Task parallel library presentation
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
Async Programming in C# 5
Async Programming in C# 5
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
Asynchronous programming in ASP.NET
Asynchronous programming in ASP.NET
Async/Await Best Practices
Async/Await Best Practices
End to-end async and await
End to-end async and await
How to meets Async and Task
How to meets Async and Task
C# Async Await
C# Async Await
Training – Going Async
Training – Going Async
Code Generation for Azure with .net
Code Generation for Azure with .net
Asynchronous Programming.pptx
Asynchronous Programming.pptx
Rethinking the debugger
Rethinking the debugger
Parallel and Async Programming With C#
Parallel and Async Programming With C#
Why scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with this
Fluentd at HKOScon
Fluentd at HKOScon
C# 5.0
C# 5.0
we45 DEFCON Workshop - Building AppSec Automation with Python
we45 DEFCON Workshop - Building AppSec Automation with Python
Advanced Serverless Apps With Step Functions
Advanced Serverless Apps With Step Functions
F# and SignalR for a FastWeb
F# and SignalR for a FastWeb
Dernier
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
UiPathCommunity
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
itnewsafrica
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Bernd Ruecker
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Knoldus Inc.
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
Kari Kakkonen
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Kaya Weers
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
itnewsafrica
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
Manik S Magar
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
marketing932765
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - 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
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Dernier
(20)
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
CSharp 5 Async
1.
www.dotnet.lv
2.
Valdis Iljuconoks Technical Fellow,
Software Architect Microsoft MVP Geta AS, Viiar Consulting valdis.iljuconoks@dotnet.lv http://dotnet.lv/blogs/vi @tech_fellow
3.
C#
4.
5.0
5.
Async
6.
concurrency
& asynchrony
7.
sequential concurrent
parallel asynchronous
8.
agenda predecessors awaiting tasks
9.
predecessors
10.
Asynchronous Programming Model
(APM) Event-based Asynchronous Pattern (EAP)
11.
C# 5.0
C# 4.0 Async C# 3.0 Dynamics Language C# 2.0 Integrated Generics Query C# 1.0 Component on a Managed Runtime
12.
awaiting tasks
13.
‘Task’ is representation
of ongoing work
14.
var var
15.
async / await
16.
similar to synchronous
code
17.
referred as async
method
18.
modifier (async) applied
to • a method • a lambda expression • an anonymous method
19.
keyword (await) used
in • body of an immediately enclosing method • lambda expression • anonymous method
20.
await NOT used
in • synchronous function • query expression • catch or finally block • in lock statement • unsafe context
21.
absence of an
operator cause a compiler warning
22.
characteristics
23.
Async methods are
intended to be non- blocking operations
24.
await expression does
not block the current thread while the awaited task is running
25.
expression signs up
the rest of the method as a continuation
26.
and
27.
returns control to
the caller of the async method.
28.
Method executes synchronously
till first ‘await’.
29.
Async methods don't
require multithreading
30.
async method doesn't
run on its own thread
31.
method runs on
the current synchronization context.
32.
Task based async
pattern
33.
Async method return
types • void • Task • Task<TResult>
34.
async void FireAndForget() {
await t; } FireAndForget();
35.
async Task JustSignalCompletionAsync() {
return; } await JustSignalCompletionAsync();
36.
async Task<int> GetResultsAsync() {
return 5; } var r = await GetResultsAsync();
37.
Naming conventions • By
convention, the suffix "Async" is added • Async methods that return void are discouraged • Exceptions to the naming convention (e.g. event handlers)
38.
?
39.
Valdis Iljuconoks Technical Fellow,
Software Architect Microsoft MVP Geta AS, Viiar Consulting valdis.iljuconoks@dotnet.lv http://dotnet.lv/blogs/vi @tech_fellow
40.
www.dotnet.lv
Télécharger maintenant