Browse by Tags

All Tags » .NET (RSS)

Intro to RX

Lab49 colleague Lee Campbell has a nice 7 part write-up on the Reactive Extensions He says: it is big in all sorts of ways: In the way that it tackles the Observer pattern is bold In the way it tackles concurrency is quite a shift from how I have done...

Bending Time with the Reactive Extensions

The latest releases of the Reactive Extensions for .Net include an abstract VirtualScheduler and a concrete implementation called TestScheduler. So now it’s possible test time dependent code without relying on the passage of time (or tide). Here’s a sample...

Tracking My Internet Provider Speeds

Of late, our broadband internet has been feeling sluggish. A call to the company took way more hold-time than I wanted to spend, and it only fixed the problem for a short while. Thus a perfect opportunity to play with some new tech to solve a problem...

Samples and Slides from Alt.Net Meet up on the Reactive Extensions

The code samples and PowerPoint deck from my presentation on the RX to the New York ALT.NET group are available (and updated) on MSDN Code samples: http://code.msdn.microsoft.com/RxDemos And the slide deck

Converting a polling based API into a streaming API with the Reactive Extensions

Recently my building has been having issues with its boilers, and the heat has been going out for longer than is comfortable. The superintendent that makes a habit of periodically checking on the status of each of the boilers. A workable approach certainly...

The Anonymous Implementation pattern (as seen in the Reactive Extensions)

There’s a pattern used in the Reactive Extensions that I’m calling the Anonymous Implementation. You can see it in use on IObservable’s one method IDisposable Subscribe(IObserver<T> observer); Given an Observable which you want to subscribe to,...

16 Ways To Create IObservables without implementing IObservable

The Reactive Extensions for .Net offers plenty of ways to create IObservables   Some primitives IObservable<int> obs = Observable.Empty<int>(); IObservable<int> obs = Observable.Return(0); IObservable<int> obs = Observable...

Streaming OLAP with the Reactive Extensions (RX) for .Net

Streaming OLAP is something that comes up over and over again in the “CEP space” – using the Reactive Extensions for .Net this demo shows the basics; filtering, grouping, aggregates, and concurrent queries. To set the context, the idea here is focus on...

CEP Style Sliding windows in the RX – Take 2

The bug I mentioned in my first attempt at a sliding window was the minor issue that the aggegates never went down to 0, even if the window had emptied out. The problem line of code was cur.GroupBy(tsst => tsst.Value.Symbol) – if the window is empty...

From the ReactiveFramework to StreamInsight and Back

In my last post I showed how to send StreamInsight output streams to a UI via the ReactiveFramework . Here’s we’ll do the reverse, by sending an RX stream into a CEP stream. Instead of a partial example, I’ll use an end to end example showing simulated...
More Posts Next page »