Preview of Reactive Extensions for .NET Available

Microsoft announced the availability of a Reactive Extensions for .NET (Rx) preview on Wednesday, in conjunction with its Professional Developers Conference 2009, held this week in Los Angeles.

Rx is a .NET Framework extension library that developers can use to build “reactive applications”—applications that can react to changes to the collections in their environment. In the past, this event-based behavior has typically been handled via locks and event handlers. With Rx, developers can write declarative code that leverage changes in the properties of observable collections to fire off push-based, asynchronous behavior in their applications.

Using the Task Parallel library for concurrency, Rx builds on LINQ standard sequence operators in the .NET Framework 4 and Silverlight 4 to enable push-based notifications. Other .NET entities can leverage these notifications, greatly simplifying the creation of asynchronous applications.

Any .NET-compliant language can use Rx, from the familiar Visual Basic and C# to newer languages like F#.

An example of Rx in use is the Silverlight Toolkit. Microsoft used Rx to build the Silverlight Toolkit Drag and Drop Framework, which uses the Windows Presentation Foundation (WPF) to create and react to drag-and-drop operations within a Silverlight application. Rx was also used by Microsoft in the Silverlight unit testing framework to write reliable, readable asynchronous test code. Rx drastically reduced development and testing time for the Silverlight team.

In addition to the observable collection library extensions, there are a number of experimental items included in this release of Rx. These include types and namespaces to extend Rx functionality to enumerable collections, as well as a .NET Framework 3.5 version of PLINQ.

The MSDN DevLabs site provides Rx preview downloads for .NET Framework 3.5 SP1, .NET Framework 4 Beta 2, and Silverlight 3. Both Visual Studio 2008 SP1 and Visual Studio 2010 Beta 2 are supported development environments.

About the Author

Terrence Dorsey is a technical writer, editor and content strategist specializing in technology and software development. Over the last 25-plus years he has worked on developer-focused projects at ESPN, The Code Project, and Microsoft. Read his blog at or follow @tpdorsey on Twitter.

comments powered by Disqus


  • .NET Core Ranks High Among Frameworks in New Dev Survey

    .NET Core placed high in a web-dominated ranking of development frameworks published by CodinGame, which provides a tech hiring platform.

  • Here's a One-Stop Shop for .NET 5 Improvements

    Culled from reams of Microsoft documentation, here's a high-level summary of what's new for performance, networking, diagnostics and more, along with links to the nitty-gritty details for those wanting to dig in more.

  • Azure SQL Database Ranked Among Top 3 Databases of 2020

    Microsoft touted the inclusion of Azure SQL Database among the top three databases of 2020 in a popularity ranking by DB-Engines, which collects and manages information about database management systems, updating its lists monthly.

  • Time Tracker Says VS Code Is No. 1 Editor for Devs, Some Working 15+ Hours Per Day

    WakaTime, which does time tracking for programmers, released data for 2020 showing that Visual Studio Code is by far the top editor/IDE used by its coders, some of whom are hacking away for more than 15 hours per day.

Upcoming Events