aspnetcore/breaking-changes/5/signalr-messagepack-package.md
The ASP.NET Core SignalR MessagePack Hub Protocol uses the MessagePack NuGet package for MessagePack serialization. ASP.NET Core 5.0 upgrades the package from 1.x to the latest 2.x package version.
For discussion on this issue, see dotnet/aspnetcore#18692.
5.0 Preview 1
ASP.NET Core SignalR used the MessagePack 1.x package to serialize and deserialize MessagePack messages.
ASP.NET Core SignalR uses the MessagePack 2.x package to serialize and deserialize MessagePack messages.
The latest improvements in the MessagePack 2.x package add useful functionality.
This breaking change applies when:
For migration guidance from the package authors, see Migrating from MessagePack v1.x to MessagePack v2.x. Some aspects of message serialization and deserialization are affected. Specifically, there are behavioral changes to how DateTime values are serialized.
xref:Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions?displayProperty=nameWithType
<!-- ### Category ASP.NET Core ### Affected APIs `T:Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions` -->