NServiceBus for .NET 7 Preview

Hi everyone,

We have completed an analysis of NServiceBus compatibility with .NET 7 Preview 5 and wanted to share the results with you.

The significant bit is this: Solutions that currently work well on .NET 6 should continue to work as expected on .NET 7.

What we’ve done

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

  1. We have run our suite of automated tests for NServiceBus, the Azure Service Bus transport, and SQL Persistence while targeting .NET 7 in the test projects. This includes code for both NServiceBus version 7 as well as the NServiceBus 8 beta.
  2. We have verified that all of our samples will build on .NET 7 and have tested a selection of samples handpicked to test a variety of components.

While we have not yet run all of the tests for every single one of our component libraries against .NET 7, we believe that the tests we have run provide the greatest insight into .NET 7 compatibility without unreasonable cost.

What to look for

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

As soon as the final version of .NET 7 is released, we’ll begin validating the automated tests for all of our component libraries.

Is there a specific aspect of .NET 7 that concerns you or a new language feature you’d like to see support for in a future version of NServiceBus? 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

1 Like