friends don't let friends use callbacks
TRANSCRIPT
Friends don’t let friends
use callbacksSorin DAMIAN
RomSoft
26 Nov 2011
Agenda
Synchronous calls
Event-Based Asynchronous Pattern (EAP)
Asynchronous Programming Model (APM)
Task Asynchronous Pattern
(even grandma can do it!)“await” – behind the scene
Composing tasks
Synchronous calls
Event-Based Asynchronous Pattern
(EAP)
Asynchronous Programming Model
(APM)
Asynchronous Programming Model
(APM)
Task Asynchronous Pattern (TAP)
Behind the scene
Composing tasks
Expressions
Task.Delay()
Task.Yield()
Task combinators
Task.WhenAll()
Task.WhenAny()
What we haven’t seen
Performance considerations
Reporting progress and cancellation
Async support in:
ASP.NET
WCF
Windows 8 (WinRT)
await Q&A