What is the difference between System.Threading.Tasks.Dataflow and Microsoft.Tpl.Dataflow

There are 2 different official Tug Dataflow nuget packages. I am embarrassed to choose which one I should use.

As far as I understand, System.Threading.Tasks.Dataflow version is slightly larger than others, and it seems that System.Threading.Tasks.Dataflow is for the latest versions of .net.

Can anyone explain the differences between the two?

+7
c # tpl-dataflow
source share
1 answer

Microsoft.Tpl.Dataflow was first released as a component separate from BCL as part of .net 4.5 - here 's a blog post announcing the release

System.Threading.Tasks.Dataflow , since a separate package was created as part of the dotnet kernel release. This history of the archived version of the release on github shows that 4.5.24 from Microsoft.Tpl.Dataflow (latest version on nuget) became 4.5.25-beta-23019 from System.Threading.Tasks.Dataflow (first version on nuget).

And this old release note explicitly announces a name change.

It seems that the original version was only for DotNet5.0 (as it was known at that time), but since then they have made it backward compatible.

So most likely you want System.Threading.Tasks.Dataflow .

+9
source share

All Articles