Observable.FromAsync is it the right choice?

Saturday, March 22, 2014

Observable.FromAsync is it the right choice? one of the most common RX's practice is to use Observable.FromAsync for executing asynchronous IO operations. typical code may look like: Code Snippet var webClient = new WebClient(); IObservable<string> uris = ...; var dataStream = from uri in uris                     from data in Observable.FromAsync(                         () => webClient.DownloadDataTaskAsync(uri))                     select data; behind the scenes RX set a Task continuation (ContinueWith) and propagate the result through AsyncSubject, actually it is a bit complex and messy implementation combination with TPL Dataflow (.NET 4.5) may offer better solution to asynchronous...

SDP 2013 (Rx in one hour)

Wednesday, December 18, 2013

SDP 2013 (Rx in one hour)   on Thursday I was giving a one hour RX's session, at Sela Developer Practice (SDP). as I promised the source code of my presentation is available in here.
no comments

Rx – Open Source

Friday, November 9, 2012

Rx - Open Source Microsoft had announced the open sourcing of Rx. it is a great news for the Rx development community. Microsoft is still committed to the library's quality while accepting external contribution into the Rx code base. Open sourcing is the new Microsoft strategy and you can see other technology that is moving in that direction (for example ASP.NET). personally I will consider to move Visual Rx into an official Rx code base. central code base that is being managed by Microsoft is much better than...

Visual Rx – Part 6

Thursday, October 25, 2012

Visual Rx - Part 6 this post is part of the Visual Rx series and it will focus on Visual Rx Viewer Side Extensibility. this post is dealing with advance topic, you may want to read other post on this series before reading this one. this post refer to version 2.0.20.622.60 or higher (the extensibility model was simplify at this version). Visual Rx support extension via plug-ins bundle contract. a plug-ins bundle contains: General information about the package (like title and description), ...

Visual Rx Version 2.0.20622.60

Visual Rx Version 2.0.20622.60 I have release a new version of Visual Rx just before my fight to the Build conference. the version support .Net 4.5 and is having a new plug-in model. this post will be follow by a post about writing plug-ins for the Visual Rx. for the client side it is recommended to use the Nuget package (write visualrx into the Nuget search box). if you want to learn more about .Net 4.5 parallelism, Rx and Tpl Dataflow you can check out the Sela developer practice conference, my session are already sold...

Visual Rx – Backward Compatibility

Wednesday, August 22, 2012

Visual Rx - Backward Compatibility I have just publish a new release of Visual Rx SDK which is targeting Rx versions 1.0.10621 and 1.1.11111. this release is result of a community request which was added to the Issue Tracker. you can add other request or vote for existing one in here. this release is also available on the NuGet Gallery. the NuGet page for version 1.0.10621 is available for download in here and the page for version 1.1.11111 is available in here. the same Visual Rx viewer...

Visual Rx – Part 5

Sunday, August 19, 2012

Visual Rx - Part 5 this post is part of the Visual Rx series and it will focus on controlling the Visual Rx publication on the coding part. you can see this series TOC in here. I was talking about enabling / disabling the Visual Rx publication (through the predefine publication channel), using the VirtualRxSettings.Enable property, in part 1 of this series. Enable / Disable let look at a Enable / Disable snippet: Code Snippet Task<VisualRxInitResult> info = VisualRxSettings.Initialize(     VisualRxWcfDiscoveryProxy.Create());   VisualRxInitResult infos = info.Result; Trace.WriteLine(infos);   var xs...

Visual Rx – Part 4

Wednesday, August 15, 2012

Visual Rx - Part 4 this post is the 4th of the Visual Rx post series. this post will focus on the communication channel settings. you can see this series TOC in here. at the time I'm writing this post there is 4 available communication channel (out of the box). Wcf discovery - will try to dynamically locate the end point of the viewer service (or any other discoverable service which apply to the Visual Rx contract). this is the...

Visual Rx – TOC

Sunday, August 12, 2012

Visual Rx - TOC Visual Rx is a bundle of API and a Viewer which can monitor and visualize Rx datum stream (at run-time). the current post in the Visual Rx series includes: Part 1: Code side. Part 2: Viewer side. Part 3: How to start using Visual Rx. Part 4: Setting the communication channels. Part 5: publication filtering.   you can vote for feature at the CodePlex site under the Issue Tracker tab....