Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinaryFormatter Migration Guide #41564

Merged
merged 65 commits into from
Aug 8, 2024
Merged

Conversation

adamsitnik
Copy link
Member

@adamsitnik adamsitnik commented Jun 26, 2024

This PR will capture the initial publication of the BinaryFormatter Migration Guide, to be published before the release of .NET 9 Preview 7. The BinaryFormatter implementation was removed from the shared framework in .NET 9 Preview 6. The Migration Guide is intended to serve customers who are either surprised by this change or who have been aware the change was coming but now need to react to it.

The guide includes several sections and pages, with the following list tracking who is contributing each of the sections/pages. As pages are completed in this PR, we will check off the boxes in the list to indicate readiness for this PR to be merged.

Outstanding feedback/comments (as of Aug 6 @ 11:30pm PT):

index.md

functionality-reference.md

winforms-applications.md

winforms-wpf-ole-guidance.md

wpf-applications.md

choose-a-serializer.md

read-nrbf-payloads.md

To be addressed in a follow-up PR:

  1. Guidance for [Serializable] attribute (to be assigned)
  2. Exception serialization (@adamsitnik)

Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/standard/serialization/binaryformatter-migration-guide/choose-a-serializer.md docs/standard/serialization/binaryformatter-migration-guide/choose-a-serializer
docs/standard/serialization/binaryformatter-migration-guide/compatibility-package.md docs/standard/serialization/binaryformatter-migration-guide/compatibility-package
docs/standard/serialization/binaryformatter-migration-guide/functionality-reference.md docs/standard/serialization/binaryformatter-migration-guide/functionality-reference
docs/standard/serialization/binaryformatter-migration-guide/index.md docs/standard/serialization/binaryformatter-migration-guide/index
docs/standard/serialization/binaryformatter-migration-guide/migrate-to-datacontractserializer.md docs/standard/serialization/binaryformatter-migration-guide/migrate-to-datacontractserializer
docs/standard/serialization/binaryformatter-migration-guide/migrate-to-messagepack.md docs/standard/serialization/binaryformatter-migration-guide/migrate-to-messagepack
docs/standard/serialization/binaryformatter-migration-guide/migrate-to-protobuf-net.md docs/standard/serialization/binaryformatter-migration-guide/migrate-to-protobuf-net
docs/standard/serialization/binaryformatter-migration-guide/migrate-to-system-text-json.md docs/standard/serialization/binaryformatter-migration-guide/migrate-to-system-text-json
docs/standard/serialization/binaryformatter-migration-guide/read-nrbf-payloads.md docs/standard/serialization/binaryformatter-migration-guide/read-nrbf-payloads
docs/standard/serialization/binaryformatter-migration-guide/winforms-applications.md docs/standard/serialization/binaryformatter-migration-guide/winforms-applications
docs/standard/serialization/binaryformatter-migration-guide/winforms-wpf-ole-guidance.md docs/standard/serialization/binaryformatter-migration-guide/winforms-wpf-ole-guidance
docs/standard/serialization/binaryformatter-migration-guide/wpf-applications.md docs/standard/serialization/binaryformatter-migration-guide/wpf-applications
docs/standard/serialization/binaryformatter-security-guide.md docs/standard/serialization/binaryformatter-security-guide

jeffhandley and others added 5 commits April 23, 2024 19:09
- remove the migration samples as we won't provide them (at least now)
- remove WPF and WinForms part as it will be provided in Preview 7
- clarify the public type requirement for Messagepack
- describe ArrayRecord and SZArrayRecord<T>
- describe the OOB package
Copy link
Member

@bartonjs bartonjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of time for today

Co-authored-by: Genevieve Warren <[email protected]>
@adamsitnik
Copy link
Member Author

@gewarren big thanks for a very detailed review!

@jeffhandley jeffhandley changed the title Binaryformatter migration guide BinaryFormatter Migration Guide Jul 31, 2024
@terrajobst terrajobst enabled auto-merge (squash) August 8, 2024 00:36
@terrajobst terrajobst merged commit 3f63aab into main Aug 8, 2024
8 checks passed
@terrajobst terrajobst deleted the binaryformatter-migration-guide branch August 8, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.