dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.23k stars 5.87k forks source link

binary formatter clean up #19460

Open Rick-Anderson opened 4 years ago

Rick-Anderson commented 4 years ago

Moved from #19442

Topics we'll want to cover, with samples:


Docs we need to update because they give improper security guidance:

API:

See https://github.com/dotnet/dotnet-api-docs/pull/4508

dotnet repo:

previous-versions:

visualstudio:

Not on the list, but I added

charlesroddie commented 3 years ago

I'm not sure if this is the best place to comment, but there is a rather strange suggestion that users should switch from byte[] serialization to string serialization (as the recommended alternatives) for reasons that have something to do with security. That is nonsense of course. You should really include a form of binary serialization as a suggested alternative. CBOR will do well, especially as there is such a serializer in dotnet/runtime now. Moving from byte[] to string formats should be a decision based on whether there is a need for human readability.