Getting Started
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Previews
Samples

DataBus Binary Serializer

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.

Samples


Last modified