Hey guys just wanted to share some knowledge about the dataflow classes in .Net. It’s pretty rare that I see them used and it’s a shame because they’re super awesome and make it incredibly easy to set up a parallel algorithm out of basic function calls by linking them together. Anyway hope y’all enjoy and if you have any feedback I would love to hear!
Thanks for the video, it’s the first I’ve stumbled across by you, very informative.


I wanted to ask if there is a standardised way of using an external producer, which requires an ack or nack, with data flow classes? Data flows one way, but not sure about the other.
Maybe this is covered in the exception handling video you mentioned.
Great! I was looking for a way to construct a simple ETL-like pipeline in .NET and somehow missed Dataflow. One of the lesser-known optional parts of .NET, I guess.
I liked this video a lot. Your examples were clear and easy to follow and you have a clear and non-monotone voice as well.
At work we don’t do much multithreading and most of our data processing winds up running serially. I’m interested to see if/how much this speeds up our more data heavy sections. I might play around with it over the holidays.
Looking forward to the error handling video as well. Thanks for this.
Awesome! Topic is explained succinctly. Thank you!
One question though, since I haven’t tried this yet or read the docs , can this do a rollback logic or does it make sense to implement a rollback?
https://devblogs.microsoft.com/dotnet/an-introduction-to-system-threading-channels/
At the end of this article there is a performance comparision between dataflow & channels.
Spoiler: if you can use channels they are far more efficient.
C# devs
null reference exceptions

source