Reactive Extensions

Must Read

Nikon D7000, Using the Landscape Picture Control

When shooting landscapes, I always look for great color and contrast. This is one of the reasons that so...

Types of Premises Liability

Property owners have a legal obligation to maintain their property and ensure its safety. When unsafe conditions occur, they...

Unsecured Debt Consolidation Loans – No Bonds for Fighting Debt

When you have got multiple debts, you are certainly in trouble and need some assistance. However, if you are...

data, such as the Accelerometer or the Location Service, you must often manage multiple concurrent streams of information. Other
scenarios in which the same requirements occur are when composing information returned from multiple concurrent requests to remote services, or when you need to handle inputs such as recording sound. In addition, if you are building and testing applications using an emulator instead of a physical device, some of the device capabilities (such as the Accelerometer) are not available. In these situations, you may find the Reactive Extensions (Rx) for .NET feature useful.

The reactive extensions also allow you to write compact, declarative code to manage complex, asynchronous operations.

Reactive extensions allow you to do the following:

  • Represent data streams, asynchronous requests, and events as observable sequences to which applications and components can subscribe.
  • Compose multiple streams into a single stream.
  • Define queries that filter streams to select only specific data items.
  • Apply transformations to data streams.
  • Emulate data streams that are not available in the current environment (such as a device emulator).
  • Read and write the streams to storage on the device, and play them back when required.

The majority of operations you perform with reactive extensions are implemented by the Observable class, which exposes a large number
of methods for creating, merging, manipulating, and querying streams. For a full list of these methods, see “Observable Members” on MSDN (

For more information about reactive streams, see “Reactive Extensions for .NET Overview for Windows Phone” (
com/en-us/library/ff431792(VS.92).aspx) and “How to: Use Reactive Extensions to Emulate and Filter Location Data for Windows Phone” ( on MSDN. You can also download a code sample that demonstrates
using the reactive extensions from “Code Samples for Windows Phone” on MSDN (

The URL to the bibliography can be found in the preface, in the final section, entitled, “Where to Go for More Information.”


Please enter your comment!
Please enter your name here

Latest News

Underlight As Accent, For Power and The Main Light for Photography

Underlighting, in which fill or accent light comes from under the topic, is not widely used technique in the traditional Portraits,...

How To Fix Overexposure As A Creative Tool, The Complete Guide

As an creative tool, overexposure is sort of underrated. What I’m close to propose could be a deliberate and well thought out technique for...

7D Mark II is Canon’s best DSLR cameras without full-frame sensor.

The expected long-awaited Canon EOS 7D Mark II are shipping in November for $ 1,799 without a lens. With a higher price tag, you...

Low key photography and How to isolate your subject.

Low key photography doesn’t depend on underexposure to make its point; the key to low key is that the majority of tones, even correctly...

High Key Lighting Techniques for Professional Photographers

I’ve written many times about high key lighting techniques and how to achieve them. The term “high key” is a bit misleading. As I’ve...

More Articles Like This

blograby facebook like page