The missing guide on how to migrate from BinaryFormatter to something else which actually works in .NET 5.x

This was the biggest stumbling block when I recently migrated to .NET 7, which apparently cannot live at all with the BinaryFormatter.

I was a little surprised when things started to crash and burn because I thought I had already removed its usage. But, it was there hiding somewhere…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
#hope

“If you see something that’s not right, not fair, not just, do something about it. Say something. Do something.” — Rep. John Lewis