Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

The Reactive Extensions Extensions Now Live on MSDN Data Developer Center

As you may have noticed, the Reactive Extensions for .NET and JavaScript have a new home, moving from MSDN Dev Labs to the MSDN Data Developer Center.  The new home will provide you with not only how to get them, but also a beginner’s guide and other additional resources including hands on labs, videos, tutorials, forums and much more.  

First Off, How Do I Get Them?

There are several ways to get your hands on the Reactive Extensions (Rx) either by installing them via the Reactive Extensions for .NET Home or via NuGet which we’ll cover below.  The Reactive Extensions is available on multiple platforms such as:

  • .NET 3.5 SP1
  • .NET 4
  • Silverlight 3
  • Silverlight 4
  • Windows Phone 7
  • XBox and Zune via XNA
  • JavaScript

The great news about getting the Windows Phone 7 is that you get the Reactive Extensions out of the box as it shipped on the ROM itself.  Since it shipped with the phone, there have been updates and you can get the latest always by visiting the site or via NuGet.

Now About NuGet…

Besides a direct download on the Rx Home Page, you can also get them via NuGet.  We have several packages to choose from based upon your needs.  First, open up the NuGet window by adding a Library Package Reference.

image

Next, in the search window, type Rx and hit enter to search.  You’ll see that we ship quite a few packages already and have since NuGet was first introduced.

image

As you can see from the picture, we have the following packages available.  We’ll briefly describe each although some will need their own blog post to cover.

  • Rx-Core
    Contains the libraries shared by all Rx libraries
  • Rx-Main
    The main library for the Reactive Extensions which contains the Observable LINQ operators
    Depends on Rx-Core
  • Rx-Interactive
    Contains extensions for IEnumerable<T> to bring parity to Observable operators
    Depends on Rx-Core
  • Rx-ClientProfile
    Brings the Rx extension methods to the .NET Client Profile API
    Depends on Rx-Core, Rx-Main
  • Rx-ExtenededProfile
    Bring the Rx extension methods to the .NET Extended Profile API
    Depends on Rx-Core, Rx-Main, Rx-ClientProfile
  • Rx-Testing
    A library for testing the Reactive Extensions which integrates into your unit testing framework of choice
    Depends on Rx-Core, Rx-Main
  • Rx-AsyncLINQ
    Contains an asynchronous version of the Enumerable pattern
    Depends on Rx-Core
  • Rx-All
    Gives you all of the above

The last few in this list including the Client Profile, Extended Profile, Testing and AsyncLINQ will need to be broken down into its own post. 

Let’s say we want just Rx-Main for now which will give us the basic Reactive Extensions for .NET that we need to get moving.  We click the install button next to it and then we’re prompted for the license, which you must accept:

image

Once accepted, we then have System.CoreEx.dll and System.Reactive added to my .NET 4 project along with my packages.config.

image

On the file system, it will bring down the .NET 3.5 SP1, .NET 4 and Silverlight 4 libraries for future reference.  This includes not only the libraries themselves, but also the documentation in the form of CHM files.

image

And you’re ready to go!

image

Conclusion

With the move from MSDN Dev Labs to the MSDN Data Developer Center, we now have a better home for now only how to get the Reactive Extensions, but also how to get started by watching videos, tutorials and asking questions via the forum.  So, with that, enjoy and we’d love your feedback!

This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Comments are closed.