Re:Pipelines – a guided tour of the new IO API in .NET
by moomin on Monday July 02, 2018 @04:22PM
(#17445022)
This is literally the most documentation on the internet for this API. AFAICT, though, it doesn't have compression or encryption stages, yet?
[ Parent
| on HN ]
Re:Pipelines – a guided tour of the new IO API in .NET
by algorithmsRcool on Monday July 02, 2018 @04:28PM
(#17445062)
Since the entire design of Pipelines is 0-copy, I figure you would have to manually pull from one pipe, operate on it and push the resulting data into another pipe.
Im sure there is an example of connecting pipes together like this somewhere. Maybe in Kestrel or SignalR (Core)?
Re:Pipelines – a guided tour of the new IO API in .NET
by josteink on Monday July 02, 2018 @04:33PM
(#17445095)
> Im sure there is an example of connection pipes together like this somewhere. Maybe in Kestrel or SignalR?
Last I checked, SignalR haven’t had a release in years, so I wouldn’t go there looking for news.
Re:Pipelines – a guided tour of the new IO API in .NET
by algorithmsRcool on Monday July 02, 2018 @04:36PM
(#17445119)
SignalR Core is what i meant.
It is alive an under active development on .NET Core
Re:Pipelines – a guided tour of the new IO API in .NET
by josteink on Monday July 02, 2018 @04:43PM
(#17445178)
That’s definitely something different and you appear to be correct:
https://github.com/aspnet/SignalR/search?q=pipelines&unscope...
Re:Pipelines – a guided tour of the new IO API in .NET
by moomin on Monday July 02, 2018 @04:47PM
(#17445212)
Yes, but assume you’re lazy: CompressionStream and EncryptionStream already exist.
Re:Pipelines – a guided tour of the new IO API in .NET
by CodesInChaos on Tuesday July 03, 2018 @03:10AM
(#17448149)
If you're referring to [`CryptoStream`](https://msdn.microsoft.com/en-us/library/system.security.cry...), forget it. Using it securely (in particular against chosen ciphertext attacks) is nigh impossible.
Re:Pipelines – a guided tour of the new IO API in .NET
by Const-me on Tuesday July 03, 2018 @02:08PM
(#17452409)
I wonder which of that applies to SslStream class from the framework?
https://msdn.microsoft.com/en-us/library/system.net.security...