Skip to content

Commit 6c935fc

Browse files
committed
Modified upgrade steps to reflect rewrite
1 parent 7bd3fe1 commit 6c935fc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

articles/search/search-dotnet-mgmt-sdk-migration.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,19 @@ Microsoft.Azure.Management.Search is now deprecated. We recommend [Azure.Resourc
3131

3232
## How to upgrade
3333

34-
1. Update your NuGet reference for `Azure.ResourceManager.Search` using either the NuGet Package Manager Console or by right-clicking on your project references and selecting "Manage NuGet Packages..." in Visual Studio.
34+
1. Review the [client library changelist](https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.Search_1.0.0/sdk/search/Azure.ResourceManager.Search/CHANGELOG.md) for insight into the scope of changes.
3535

36-
1. Once NuGet has downloaded the new packages and their dependencies, rebuild your project. Depending on how your code is structured, it may rebuild successfully, in which case you're done.
36+
1. In your application code, delete the reference to `Microsoft.Azure.Management.Search` and its dependencies.
3737

38-
1. If your build fails, it could be because you've implemented some of the SDK interfaces (for example, for the purposes of unit testing), which have changed. To resolve this, you'll need to implement newer methods such as `BeginCreateOrUpdateWithHttpMessagesAsync`.
38+
1. Add a reference for `Azure.ResourceManager.Search` using either the NuGet Package Manager Console or by right-clicking on your project references and selecting "Manage NuGet Packages..." in Visual Studio.
3939

40-
1. After fixing any build errors, you can make changes to your application to take advantage of new functionality.
40+
1. Once NuGet has downloaded the new packages and their dependencies, replace the API calls.
41+
42+
<!-- | Old API | New API |
43+
|---------|---------|
44+
| [CreateOrUpdateWithHttpMessagesAsync Method](/dotnet/api/microsoft.azure.management.search.iservicesoperations.createorupdatewithhttpmessagesasync) | TBD |
45+
| [CheckNameAvailabilityWithHttpMessagesAsync Method](/dotnet/api/microsoft.azure.management.search.iservicesoperations.checknameavailabilitywithhttpmessagesasync) | TBD |
46+
| [IAdminKeysOperations.GetWithHttpMessagesAsync Method](/dotnet/api/microsoft.azure.management.search.iadminkeysoperations.getwithhttpmessagesasync) | TBD | -->
4147

4248
## Upgrade to 3.0
4349

0 commit comments

Comments
 (0)