Learn how to handle Active Object method return values with .NET Framework Tasks.
Articles Written by Jeffrey Juday
Task Parallel Library contains all the plumbing a developer will need to implement the Active Object pattern.
Hardly noticeable, yet critical to a smoothly executing Parallel workload. TaskSchedulers are the "conductors" of the Task Parallel Library world.
Like all .NET technologies there are many approaches to combining Windows Presentation Foundation (WPF) and Task Parallel Library (TPL) within the .NET Framework. Using some code samples I'm going to demonstrate how to incorporate TPL into WPF.
TPL includes Cancellations and AggregateExceptions for interrupting work and dealing with collections of exceptions often generated when multiple Tasks are interrupted. There are patterns to implementing Cancellations and this article demonstrates some of the more common patterns.
In making parallel computing more accessible, Microsoft has also made asynchronous execution more accessible. Nowhere is this fact more apparent than in technologies built from the ground up on these new asynchronous capabilities. Take, for example, Reactive Extensions (Rx); a set of libraries built on LINQ and the Task Parallel Library (TPL).