We now support running NServiceBus on .NET 5. We confirm that all runtime features that NServiceBus depends on have been tested — both on Linux and Windows.
Note that there are some restrictions when using NServiceBus with .NET 5:
- A custom databus serializer must be used in ASP.NET apps. The
BinaryFormatterused by the default serializer is prohibited in .NET 5 for ASP.NET apps.
- If a saga property is a record type, that record type must be mutable so it can be deserialized.
We have also released version NServiceBus 7.4.7, which fixes an issue with single file deployment in .NET 5.
Where to get it
You can install the new version of NServiceBus from NuGet.
The team in Particular
Please read our release policy for more details.