Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Upgrade version 3 to 3.1

As of .NET 7, the RijndaelManaged class is obsolete and not recommended. The replacement class, AesManaged is backward-compatible with the old class in that messages encrypted with RijdaelManaged can be decrypted by AesManaged and vice versa.

AesEncryptionService

NServiceBus.Encryption.MessageProperty version 3.1 includes the AesEncryptionService class that replaces the deprecated RijndaelEncryptionService. In most cases, upgrading involves replacing all instances of RijndaelEncryptionService with AesEncryptionService. No further code changes are necessary.

Related Articles