TPL Dataflow
Discuss and ask questions about TPL Dataflow (System.Threading.Tasks.Dataflow.dll) -- including usage, performance, feature request, bugs, general concepts and more.
Oznámení
- Link
TPL Dataflow in .NET 4.5 RC on NuGet
Stephen Toub - MSFTMicrosoft Employee1. června 2012 17:23In .NET 4.5 RC, TPL Dataflow is delivered via NuGet at https://nuget.org/packages/Microsoft.Tpl.Dataflow and is supported everywhere that .NET 4.5 runs, including desktop, server, and .NET for Metro style apps. The simplest way to install the package in Visual Studio is to highlight the target project, select Tools > Library Package Manager > Package Manager Console, and at the prompt enter:
Install-Package Microsoft.Tpl.Dataflow -Pre
The -Pre flag is needed because these are marked as prerelease versions. You can use the GUI Manage NuGet Packages dialog for this task as well, but when searching make sure to select Include Prerelease from the appropriate drop-down list. For details about this release, please refer to the blog post at http://blogs.msdn.com/b/bclteam/archive/2012/05/30/mef-and-tpl-dataflow-nuget-packages-for-net-framework-4-5-rc.aspx. - Link
Welcome to the TPL Dataflow forum!
Stephen Toub - MSFTMicrosoft Employee26. ledna 2011 15:39"TPL Dataflow" is a new .NET library for building concurrent, parallel, and asynchronous applications. It enables building systems based on dataflow concepts, on in-process message passing, and on asynchronous pipelines. This library, System.Threading.Tasks.Dataflow.dll, is heavily inspired by the Visual C++ Asynchronous Agents Library, by the CCR from Microsoft Robotics, by the Axum language, and more; it’s built on top of a multitude of constructs introduced in .NET 4, internally using types like Task and ConcurrentQueue<T>, in order to provide solutions for buffering and processing data, for building systems that need high-throughput and low-latency processing of data, and for building agent/actor-based systems. TPL Dataflow was also designed to integrate very well with the new language support for tasks, such that you can easily use TPL Dataflow constructs within asynchronous methods, and such that you can harness asynchronous methods within “dataflow blocks.”
You can download a Community Technology Preview release from the TC Labs site on MSDN DevLabs at http://msdn.microsoft.com/en-us/devlabs/gg585582. A previous preview release of the DLL is also available as part of the Microsoft Visual Studio Async CTP, available at http://msdn.com/vstudio/async.
Please use this forum to ask questions about TPL Dataflow, to provide feedback on the library, to let us know about your successes and to let us know about your stumbling blocks. We look forward to hearing from and conversing with you.
Filtrování a řazeníVyužijte tyto možnosti k zúžení seznamu diskusí.
- 045

Create reusable processing logic on top of predefined blocks with TPL dataflow?
Karl He 16. května 2013 5:33 - 2110

track messages dropped due to boundedcapcity
Mark Zvilius 30. dubna 2013 18:29 - 1132

Install fails via NuGet on portable library targeting .net 4.5 and store apps
Aphid1 14. dubna 2013 23:10 - 93351

vs2012/.net 4.5 RC Compiler error, when using ActionBlock, missing reference to System.Threading.Tasks
aL3891 7. června 2012 10:29 - 6212

ReceiveAsync blocking - any reason this could happen legitimately?
PeteBeech 8. dubna 2013 14:20 - 51413

Filtering custom blocks with LinkTo
LeetBaal 4. prosince 2012 9:25 - 2126

What's the difference between these 2 code snippets?
smwikipedia 7. dubna 2013 7:50 - 5182

await BufferBlock.ReceiveAsync() gets stuck (deadlocked?)
Stevo Zilik 27. března 2013 10:03 - 1247

Is it smart to use Dataflow as async queue solution in ASP MVC
Ido Ran 15. března 2013 15:57 - 4339

Dataflow local storage or something like it
AceHack 7. března 2013 7:43 - 1222

Where can I find a TPL dataflow version that targets .NET Framework 4.0?
aKzenT 13. března 2013 19:22 - 1798

Memory Leak using TPL Dataflow
Cliff Hammerschmidt 6. února 2013 20:25 - 31554

Bug using Encapsulate with Filtering
A.Frischke 20. října 2012 2:07 - 71090

One Producer with two Consumers that both get all posts
Rubio 14. ledna 2013 20:40 - 1857

Blocking BufferBlock?
SergejusMVP14. ledna 2013 9:28 - 31512

Using TPL for file download scheduler and processing each of those files asynchronously
Rakesh Gopinath 7. prosince 2012 4:17 - 41300

Why are the following transformBlock run-times impacted by subsequent transformManyBlock
Freddy1733 13. prosince 2012 7:10 - 1999

DataBlock Lifetime and completion
Ben Foster 31. prosince 2012 13:37 - 11107

How to handle exceptions in Linked targets?
Ben Foster 31. prosince 2012 13:28 - 1887

Is this a bug in JoinBlock?
ydong 27. prosince 2012 15:37