Migrating from 4.11.2 to 5.4.2, private backing fields, serialization #2279
Unanswered
michaelcsikos
asked this question in
Questions
Replies: 1 comment 2 replies
-
You can use BinaryFormatter as long as you aren't using .NET 5+ or Blazor, where it is deprecated and/or just not there. Another alternative is to implement some code in a custom |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm in the process of moving all of our code from 4.11.2 to 5.4.2. One of the big hurdles is the 5,500 properties that still use
RelationshipTypes.PrivateField
. Most of these are in two solutions which are not under active development, but are updated once a year for each client when a new version of AutoCAD is released. They are Windows Forms apps connecting directly to SQL Server / Azure.It would not be trivial to convert all of these to managed backing fields and there is no budget to do so at this stage. Can we set the the
SerializationFormatter
to"BinaryFormatter"
and kick the can down the road?Are there any other breaking changes or things I should be aware of? Was there a blog post when 5.0 was released?
Beta Was this translation helpful? Give feedback.
All reactions