Skip to content

Remove binary formatter net data contract serializer#4018

Merged
rockfordlhotka merged 5 commits into
MarimerLLC:mainfrom
luizfbicalho:remove-BinaryFormatter-NetDataContractSerializer
Jun 12, 2024
Merged

Remove binary formatter net data contract serializer#4018
rockfordlhotka merged 5 commits into
MarimerLLC:mainfrom
luizfbicalho:remove-BinaryFormatter-NetDataContractSerializer

Conversation

@luizfbicalho

Copy link
Copy Markdown
Contributor

Removed `application/x-microsoft.net.object.binary.base64` mimetypes and associated serialization instructions from `.resx` files. Also, deleted `BinaryFormatterWrapper.cs` and `NetDataContractSerializerWrapper.cs` files, indicating a shift away from `BinaryFormatter` and `NetDataContractSerializer` serialization methods.
Updated `SerializationTests.cs` to use `MobileFormatter` instead of `NetDataContractSerializer` and `BinaryFormatterWrapper`. The `using` statements have been rearranged accordingly. The `[Ignore]` attribute has been added to `TestSerializableEventsActionFails()` and `TestSerializableEventsActionSucceeds()` methods, possibly indicating these tests are currently not in use. The `UseCustomSerializationFormatter()` and `UseNetDataContractSerializer()` methods in the `CommandOverDataPortal()` method have been removed.
@rockfordlhotka rockfordlhotka self-requested a review June 11, 2024 17:39
Comment thread Source/Csla.test/Serialization/SerializationTests.cs Outdated
Comment thread Source/Csla.test/Serialization/SerializationTests.cs Outdated
Removed two ignored tests from `SerializationTests.cs` that were previously designed to assess the serialization capabilities of objects with event handlers. These tests, `TestSerializableEventsActionFails` and `TestSerializableEventsActionSucceeds`, were no longer relevant due to changes in the testing strategy or updates to the serialization mechanism, suggesting a shift in focus or improvements that made these specific tests obsolete.
@rockfordlhotka rockfordlhotka merged commit 3755f3d into MarimerLLC:main Jun 12, 2024
@luizfbicalho luizfbicalho deleted the remove-BinaryFormatter-NetDataContractSerializer branch June 15, 2024 22:39
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove references to BinaryFormatter and NetDataContractSerializer

2 participants