This DataBus serializer uses the BinaryFormatter
to serialize and deserialize data bus properties.
endpointConfiguration.UseDataBus<FileShareDataBus, BinaryFormatterDataBusSerializer>();
BinaryFormatter
is dangerous and is not recommended for data processing. Applications should stop using BinaryFormatter as soon as possible, even if they believe the data they're processing to be trustworthy. BinaryFormatter is insecure and can't be made secure. Switch to a safer serializer. Refer to the Migration from BinaryFormatter for details.