Curing Your Event Processing Blues with Reactive Extensions (Rx)

Download this episode

Download Video


In today’s world of connected cloud-centric applications with rich user experiences, the need for asynchronous and event programming is bigger than ever. With the C# and Visual Basic language features added to .NET 4.5, an imperative approach to sequential composition and orchestration of asynchronous operations has been introduced. Come and learn how the Reactive Extensions (Rx) complement this feature set, adding the notion of multi-value asynchronous observable sequences with full-fledged LINQ support. In this demo-intensive session, we will sketch out the asynchronous and event programming landscape, and dive into the unique role played by Rx. After explaining the design philosophy of Rx and its layered architecture, we will cover the rich set of query operators that enable complex event processing. Next, the synergy between Rx and the TPL functionality is discussed, also touching upon leveraging Rx from Metro-style applications. Democratizing event processing starts today!
For more information, check out this course on Microsoft Virtual Academy:









Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Reasonable presentaion 3/5
      Got some good tips.

    • User profile image
      Martin Rosselle

      Very nice demo of Rx with a not so obvious/cliche demo, the kinect demo idea was really cool ;-)

      Cheers, Martin

    • User profile image

      Amazingly cool demo, especially the Kinect part.

    • User profile image

      Bart is SO NICE lol

    • User profile image

      Great presentation, Bart.  The use case for Kinect is great, and I have some ideas I can't stop thinking about ... but this forum isn't a great place for it.  Is the cloud programmability team still hiring?

    • User profile image
      Kevin Haynie

      Great presentation, Bart. FYI, for those who are just using VS2010 with framework 4.0 and want to get the Dictionary example going, you can still do this but you have to use the FromAsyncPattern() method. Also be sure when you create your service reference to the dictService that you mark it as async in the advanced properties.

      The main change will be the following line:

      var dictWords = Observable.FromAsyncPattern<string, string, string, DictionaryWebService.DictionaryWord[]>(svc.BeginMatchInDict, svc.EndMatchInDict);

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.