O'Reilly logo

Visual Studio 2013 Cookbook by Richard Banks, Jeff Martin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with actors and the TPL Dataflow Library

With Visual Studio 2010 and .NET 4.0, we were given the Task Parallel Library (TPL), which allowed us to process a known set of data or operations over multiple threads using constructs such as the Parallel.For loop.

Coinciding with the release of Visual Studio 2012, Microsoft has now given us the ability to take any data we like and process it in chunks through a series of steps, where each step can be processed independent of the others. This library is called the TPL Dataflow Library.

An interesting thing to note about this library is that it was originally included as part of .NET Framework in the pre-release versions, but the team moved it to a NuGet distribution model so that changes and updates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required