Rx dotNed

790 views

Published on

My talk about Reactive Extensions (Rx) for the dutch .net usergroup dotNed

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
790
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Rx dotNed

  1. 1. Reactive Extensions<br />
  2. 2. Dennis Vroegop<br />Most Valuable Professional Surface<br />Voorzitter dotNed<br />Twitter: @dvroegop<br />dennis@destrato.com<br />http://Blogs.vroegop.org<br />Welkom<br />
  3. 3. Standaard lussen: Pull<br />RX lussen: Push<br />Het idee erachter…<br />
  4. 4. Interfaces<br />De basis<br />
  5. 5. public interface IEnumerable<out T> : IEnumerable        <br /> { <br />            IEnumerator<T> GetEnumerator();       <br />  } <br />public interface IEnumerator<out T> : IDisposable {                  <br />T Current { get; }     <br />bool MoveNext(); <br />}<br />.net 4.0<br />
  6. 6. public interface IObservable<out T> <br />{     <br />IDisposable Subscribe(IObserver<T> observer); <br />} <br />public interface IObserver<in T> <br />{     <br />void OnCompleted();     <br />void OnError(Exception error);     <br />void OnNext(T value); <br />} <br />Dual<br />
  7. 7. System.Coreex.dll<br />System.Reactive.dll<br />Extension Methods<br />
  8. 8. Factories<br />En nu instantiëren<br />
  9. 9. Range<br />GenerateWithTime<br />Factories<br />
  10. 10. Demo<br />Show me!<br />
  11. 11. Samenvatting<br />Nog even snel…<br />
  12. 12. Ideaal voor Asynchroon werken<br />Niet eenvoudig<br />Niet toepassen als je het niet nodig hebt<br />Ook toe te passen in WP7!<br />Samenvatting<br />
  13. 13. Q&A<br />Jullie beurt!<br />
  14. 14. Reactive Extensions : http://msdn.microsoft.com/en-us/devlabs/ee794896<br />Erik Meijers introduction (part 1) http://channel9.msdn.com/shows/Going+Deep/E2E-Erik-Meijer-and-Wes-Dyer-Reactive-Framework-Rx-Under-the-Hood-1-of-2/<br />Erik Meijers introduction (part 2) http://channel9.msdn.com/shows/Going+Deep/E2E-Erik-Meijer-and-Wes-Dyer-Reactive-Framework-Rx-Under-the-Hood-2-of-2/<br />Rx Samples: http://rxwiki.wikidot.com/101samples<br />Resources<br />
  15. 15. Dennis Vroegop<br />Most Valuable Professional Surface<br />Voorzitter dotNed<br />Twitter: @dvroegop<br />dennis@destrato.com<br />http://Blogs.vroegop.org<br />Get in touch…<br />

×