# Upgrade from NServiceBus Azure Version 6 > [!WARNING] > Upgrades from NServiceBus.Azure versions 6.2.3 and below will need to apply the [saga de-duplication patch](/persistence/upgrades/asp-saga-deduplication.md) followed by the [saga index patch](/persistence/upgrades/asp-saga-pruning.md) before completing the remainder of these upgrade steps. ## Changing NuGet packages and namespaces One of the most visible changes for this persister was moving it from the NServiceBus.Azure package to the NServiceBus.Persistence.AzureStorage package. This change in packaging has reset the version number to version 1. Upgrading to the new package requires removing the [NServiceBus.Azure NuGet package](https://www.nuget.org/packages/NServiceBus.Azure/) from the project and adding the [NServiceBus.Persistence.AzureStorage NuGet package](https://www.nuget.org/packages/NServiceBus.Persistence.AzureStorage/). Once the packages have been changed, any use of the `NServiceBus.Azure` namespace must be replaced with `NServiceBus.Persistence.AzureStorage`. ## New configuration API In versions 6 and below, the Azure Storage Persistence was configured using XML configuration sections called `AzureSubscriptionStorageConfig`, `AzureSagaPersisterConfig`, and `AzureTimeoutPersisterConfig`. These XML configuration sections have been deprecated in favor of a more granular, code-based configuration API. For example, the following XML: ```
``` changes to this code configuration: ``` var persistence = endpointConfiguration.UsePersistence(); persistence.ConnectionString("connectionString"); ``` The new configuration APIs are accessible through extension methods on the `UsePersistence()`, `UsePersistence()`, and `UsePersistence()` extension points in the endpoint configuration. See [Azure Storage Persistence Code Configuration](/persistence/azure-table/configuration.md) for more details on code configuration API use. Related errors: - `An error occurred creating the configuration section handler for AzureSagaPersisterConfig: Could not load file or assembly 'NServiceBus.Azure' or one of its dependencies. The system cannot find the file specified.` - `An error occurred creating the configuration section handler for AzureSubscriptionStorageConfig: Could not load file or assembly 'NServiceBus.Azure' or one of its dependencies. The system cannot find the file specified.` - `An error occurred creating the configuration section handler for AzureTimeoutPersisterConfig: Could not load file or assembly 'NServiceBus.Azure' or one of its dependencies. The system cannot find the file specified.`