NServiceBus for .NET 9 Release Candidate 1

Hi everyone,

We have completed an analysis of NServiceBus compatibility with .NET 9 Release Candidate 1 and wanted to share the results with you.

The conclusion is that solutions that currently work well on .NET 8 should continue to work as expected on .NET 9.

What we’ve done

Here is what we have done to verify our compatibility with .NET 9:

  1. We have run our suite of automated tests for NServiceBus, the Azure Service Bus transport, SQL Transport and SQL Persistence while targeting .NET 9 in the test projects.
  2. We have verified that our samples build on .NET 9 and have successfully run a selection of samples that were handpicked to test a variety of components.

While we have not yet run all of the tests for every one of our component libraries against .NET 9, the sample set that has been run provided a good insight into .NET 9 compatibility.

What to look for

As we get closer to the official launch of .NET 9, we will continue to re-run tests for new .NET preview releases where it seems appropriate. If we find anything of concern, we’ll update this post. Otherwise, “no news is good news.”

When the final version of .NET 9 has been released, we’ll begin validating the automated tests for all of our component libraries.

If there is a specific aspect of .NET 9 that concerns you, or if there is a new language feature that you’d like to see support for in a future version of NServiceBus, then let us know in this thread or send us a support case and we’ll be happy to help.

With thanks,
The team in Particular