Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bing it on, Reactive Extensions Building a quick search app from scratch in WPF with Rx and Bing.com.

Similar presentations


Presentation on theme: "Bing it on, Reactive Extensions Building a quick search app from scratch in WPF with Rx and Bing.com."— Presentation transcript:

1 Bing it on, Reactive Extensions Building a quick search app from scratch in WPF with Rx and Bing.com

2 What is Rx?! Library – mainly consisting of extension methods Developed by Microsoft Aims to simplify event handling and async operations LINQ-friendly

3 Requirements.NET 3.5SP1 (4 or newer preferred) Windows Phone 7 (7.1 or newer preferred) Silverlight 4 (5 or newer preferred) Also available for JavaScript

4 Why should I use it? Simplifies async queries (and other operations) Makes async and event handling code (much) easier to unit-test Less code – simpler maintenance Less bugs

5 How do I get it? Download from MSDN Install with NuGet Package Manager Install via Visual Studio Extension SDK

6 Basics IObservable, IObserver Similar to IEnumerable and IEnumerator Main difference : Data in motion vs Data in memory

7 IObservable IDisposable Subscribe(IObserver observer);

8 IObserver void OnNext(T value); void OnError(Exception error); void OnCompleted();

9 Key features Compose two or more observables – Pipeline them – Join them – … Use one of the many pre-built modifiers Build your own modifiers

10 Demo

11 Questions?

12 References http://www.introtorx.com/ http://rxwiki.wikidot.com/101samples

13 Contact Andrei Rinea Working at IBM as a Senior Software Developer B : http://blog.andrei.rinea.rohttp://blog.andrei.rinea.ro L : http://www.linkedin.com/in/andreirineahttp://www.linkedin.com/in/andreirinea T : https://twitter.com/AndreiR23https://twitter.com/AndreiR23 F : https://www.facebook.com/andrei.rineahttps://www.facebook.com/andrei.rinea

14 In the memory of my mother, Rodica.


Download ppt "Bing it on, Reactive Extensions Building a quick search app from scratch in WPF with Rx and Bing.com."

Similar presentations


Ads by Google