Ian
Ian

Reputation: 4909

RX, Reactive Extensions WPF, simple references question

I wanted to play with RX, I downloaded the 4.0 WPF version, installed it and started looking for examples of what it does. I've found various bits of code which I should be simple enough to copy and paste into a new project and get going.

I seem to need references to various assemblies and I can't find any documentation for which. So far I have:

Microsoft.Expression.Interactions
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\WPF\Microsoft.Expression.Interactions.dll

System.CoreEx
C:\Program Files (x86)\Microsoft Cloud Programmability\Reactive Extensions\v1.0.2856.0\Net4\System.CoreEx.dll

System.Interactive
C:\Program Files (x86)\Microsoft Cloud Programmability\Reactive Extensions\v1.0.2856.0\Net4\System.Interactive.dll

System.Reactive
C:\Program Files (x86)\Microsoft Cloud Programmability\Reactive Extensions\v1.0.2856.0\Net4\System.Reactive.dll

System.Windows.Interactivity
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\WPF\System.Windows.Interactivity.dll

So I'm using a DLL from blend 3 (I have blend 3 and 4 installed, couldn't find a 4 version) and then the RX ones which seemed core...

Any advice on this, pointers to where the doc's are for that bit? The interactions references were needed for behaviors, but actually that's new to me too.

Thanks Ian

Upvotes: 0

Views: 1343

Answers (1)

Ana Betts
Ana Betts

Reputation: 74654

I think you're confusing the Blend SDK with Rx. Rx.NET has nothing to do with WPF or any other UI technology - it's a general purpose library (like LINQ is). System.Interactive and System.Windows.Interactivity are completely unrelated, despite their very related names!

If you're interested in an application of Rx in WPF4, you should check out an MVVM Library that I wrote called ReactiveUI. There's a WPF4 sample project at the bottom of the page that will show you the kind of things you can do with Rx in UI projects.

Upvotes: 5

Related Questions