DataBus Binary Serializer

NuGet Package: NServiceBus.DataBus.BinarySerializer (1-pre)
This page targets a pre-release version. Pre-releases are subject to change and samples are not guaranteed to be fully functional.

This DataBus serializer uses the BinaryFormatter to serialize and deserialize data bus properties.

#pragma warning disable CS0618 // Type or member is obsolete
        endpointConfiguration.UseDataBus<FileShareDataBus, BinaryFormatterDataBusSerializer>();
#pragma warning restore CS0618 // Type or member is obsolete
BinaryFormatter is not supported in .NET 5. For projects that target .NET 5 and later, migrate to a safer serializer.


Last modified