C# 5.0 - Async/Await

Download C# 5.0 - Async/Await

Post on 25-May-2015

1.820 views

Category:

Documents

6 download

Embed Size (px)

TRANSCRIPT

<ul><li> 1. C# 5.0 Async/Await Elemar Jr.Twitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net]</li></ul> <p> 2. Apresentando Elemar JR 32 anos, pai, DEV e nerd Arquiteto, enxadrista, (ex) apaixonado por vinhos. Gosta de filosofia e teologia P&amp;D na Promob onde trabalha h 14 anos Microsoft C# MVP janeiro 2012 Integrante do Void Podcast com Leandro Daniel [@leandronet] e Vincius Quaiato [@vquaiato] Blogueiro e articulista elemarjr.net e www.infoq.com/br/author/Elemar-Jr. FOSS developer fluentil.org + github.com/elemarjr + elemarjr.github.comTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] 3. Evoluo No que o C# melhorouManagedC# 1.0VS 2002 Code AnonymousNullableC# 2.0VS 2005GenericsMethodsTypes Lambda ExtensionExpression AnonymousImplicitC# 3.0VS 2008 LINQ ExpressionsMethods TreeTypesTyping (var) LateNamedOptionalMore COMC# 4.0VS 2010 BindingArguments Parameterssupport AsyncCallerC# 5.0VS 2012 featureInformationTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] 4. Palavras do cara Por que Async?! Asynchronous programming is becoming the norm in modern, connected applications (Anders Hejlsberg)Twitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] 5. Sncrono Obtendo links no msdnTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226500 6. Assncrono Criando um handler (mtodo) h benefciosTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226537 7. Assncrono Usando expresses LambdaTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226583 8. Assncrono Usando TPLTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226611 9. Assncrono Usando asyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226629 10. Comparando Sncrono e AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] 11. Retornando Retornando AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226689 12. Interface Considerando AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226728 13. Interface Considerando AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226785 14. (cont) Interface Considerando AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226785 15. (cont) Interface Considerando AsyncTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226785 16. Implementando Async Awaiter patternTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226785 17. Implementando Async Awaiter pattern (exemplo 2)Twitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net] https://gist.github.com/3226841 18. Finalizando Era isso!Parallel/Asyncronous Programming mais fcil com o Async CTPbit.ly/post-async-1Async (advanced) Returning Values, Cancellation, Awaiter patternbit.ly/post-async-2Visual Studio Async CTP downloadbit.ly/download-async-ctpTwitter [@elemarjr] | Facebook [facebook.com/elemarjr] | Blog [elemarjr.net]</p>