Edit

Share via


Breaking changes in .NET Aspire 9.2

If you're migrating an app to .NET Aspire 9.2, the breaking changes listed here might affect you.

This article categorizes each breaking change as binary incompatible or source incompatible, or as a behavioral change:

  • Binary incompatible - When run against the new runtime or component, existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.

  • Source incompatible - When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.

  • Behavioral change - Existing code and binaries may behave differently at run time. If the new behavior is undesirable, existing code would need to be updated and recompiled.

Note

This article is a work in progress. It's not a complete list of breaking changes in .NET Aspire 9.2.

Breaking changes

Title Type of change Introduced version
AzureContainerApps infrastructure creates managed identity per container app Behavioral change 9.2
AzureOpenAIDeployment obsolete Source incompatible 9.2
KeyVault default role assignment changing from KeyVaultAdministrator to KeyVaultSecretsUser Behavioral change 9.2
Role Assignments separated from Azure resource bicep Behavioral change 9.2
With authentication API creates keyvault resource in the app model Behavioral change 9.2
WithCommand obsolete and new overload with CommandOptions Source incompatible 9.2