Presentation Materials for Boston Code Camp 19

Thanks to everyone for coming!

A Survey of Multi-threading in .NET 4.5: Slides | Sample Code for all 6 libraries | More Samples for Async/Await

Reactive Extensions: http://msdn.microsoft.com/en-us/data/gg577609
TPL Dataflow: http://msdn.microsoft.com/en-us/devlabs/gg585582
Async Targeting Pack: http://www.microsoft.com/en-us/download/details.aspx?id=29576

Mixing TPL Dataflow with Reactive Extensions

The TPL Dataflow Library (TDF) from Microsoft DevLabs provides an additional method of managing asynchronous execution in .NET. Fortunately, like many of the other choices, it’s built on the same underlying constructs (primarily the Task object), allowing integration with existing solutions. One of the points of integration is provided by the IObservable and IObserver interfaces which form the basis for the Reactive Extensions.

The basic concept of TDF involves chaining together blocks that do some processing on each data item as it flows through the chain. Blocks can be sources (ISourceBlock) or targets (ITargetBlock) or a combination of both (IPropagatorBlock).

The most straightforward combination of Rx and TDF involves transforming the output of a source block into an observable sequence Continue reading

Presentation Materials for Boston Code Camp 18

Great event at a new location! I hope everyone enjoyed it.

A Survey of Multi-threading in .NET 4.5: Slides | Code

Future-proofing your XAML Applications with Portable Libraries: Slides | Code

Portable Libraries Hands-On-Lab: http://tinyurl.com/plibhol
Reactive Extensions: http://msdn.microsoft.com/en-us/data/gg577609
TPL Dataflow: http://msdn.microsoft.com/en-us/devlabs/gg585582
Async Targeting Pack: http://www.microsoft.com/en-us/download/details.aspx?id=29576