Skip to content

Commit 6eb1eeb

Browse files
jstedfastghogen
andauthored
Update docs/modeling/customizing-file-storage-and-xml-serialization.md
Co-authored-by: Gordon Hogenson <[email protected]>
1 parent 9b57a3e commit 6eb1eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modeling/customizing-file-storage-and-xml-serialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ We recommend that you study the code in **Dsl\Generated Code\Serializer.cs** and
253253
> [!NOTE]
254254
> Starting with Visual Studio 2022 17.13, the default serialization implementation will no longer support the serialization or deserialization of custom data types using BinaryFormatter due to [security risks with BinaryFormatter](/dotnet/standard/serialization/binaryformatter-security-guide).
255255
>
256-
> This means that if you use a custom data type for any domain properties, you need to either override the serialization methods in the `SerializationHelper` class, or implement a `TypeConverter` capable of converting each custom data type to and from a string.
256+
> If you use a custom data type for any domain properties, you need to either override the serialization methods in the `SerializationHelper` class, or implement a `TypeConverter` capable of converting each custom data type to and from a string.
257257
>
258258
> To maintain backward compatibility with models that use `BinaryFormatter` serialization, you can implement a `TypeConverter` that deserializes the binary data. The following code snippet serves as a template for implementing this compatibility:
259259

0 commit comments

Comments
 (0)