Skip to content

Commit b1f11e1

Browse files
committed
rebase and squash
1 parent bb8dbab commit b1f11e1

42 files changed

Lines changed: 867 additions & 967 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

azure-sql/database/authentication-aad-configure.md

Lines changed: 108 additions & 114 deletions
Large diffs are not rendered by default.

azure-sql/database/elastic-scale-upgrade-client-library.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,38 @@ title: Upgrade to the latest elastic database client library
33
description: Use NuGet to upgrade elastic database client library.
44
author: scoriani
55
ms.author: scoriani
6-
ms.reviewer: wiassaf, mathoma
7-
ms.date: 01/03/2019
6+
ms.reviewer: wiassaf, mathoma, maghan
7+
ms.date: 02/01/2024
88
ms.service: sql-database
99
ms.subservice: scale-out
1010
ms.topic: how-to
11-
ms.custom: sqldbrb=1
11+
ms.custom:
12+
- sqldbrb=1
1213
---
14+
1315
# Upgrade an app to use the latest elastic database client library
14-
[!INCLUDE[appliesto-sqldb](../includes/appliesto-sqldb.md)]
16+
17+
[!INCLUDE [appliesto-sqldb](../includes/appliesto-sqldb.md)]
1518

1619
New versions of the [Elastic Database client library](elastic-database-client-library.md) are available through NuGet and the NuGet Package Manager interface in Visual Studio. Upgrades contain bug fixes and support for new capabilities of the client library.
1720

1821
**For the latest version:** Go to [Microsoft.Azure.SqlDatabase.ElasticScale.Client](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Client/).
1922

20-
Rebuild your application with the new library, as well as change your existing Shard Map Manager metadata stored in your databases in Azure SQL Database to support new features.
23+
Rebuild your application with the new library, and change your existing Shard Map Manager metadata stored in your databases in Azure SQL Database to support new features.
2124

2225
Performing these steps in order ensures that old versions of the client library are no longer present in your environment when metadata objects are updated, which means that old-version metadata objects won't be created after upgrade.
2326

2427
## Upgrade steps
2528

2629
**1. Upgrade your applications.** In Visual Studio, download and reference the latest client library version into all of your development projects that use the library; then rebuild and deploy.
2730

28-
* In your Visual Studio solution, select **Tools** --> **NuGet Package Manager** --> **Manage NuGet Packages for Solution**.
29-
* (Visual Studio 2013) In the left panel, select **Updates**, and then select the **Update** button on the package **Azure SQL Database Elastic Scale Client Library** that appears in the window.
30-
* (Visual Studio 2015) Set the Filter box to **Upgrade available**. Select the package to update, and click the **Update** button.
31-
* (Visual Studio 2017) At the top of the dialog, select **Updates**. Select the package to update, and click the **Update** button.
32-
* Build and Deploy.
31+
- In your Visual Studio solution, select **Tools** --> **NuGet Package Manager** --> **Manage NuGet Packages for Solution**.
32+
- (Visual Studio 2013) In the left panel, select **Updates**, and then select the **Update** button on the package **Azure SQL Database Elastic Scale Client Library** that appears in the window.
33+
- (Visual Studio 2015) Set the Filter box to **Upgrade available**. Select the package to update, and select the **Update** button.
34+
- (Visual Studio 2017) At the top of the dialog, select **Updates**. Select the package to update, and select the **Update** button.
35+
- Build and Deploy.
3336

34-
**2. Upgrade your scripts.** If you are using **PowerShell** scripts to manage shards, [download the new library version](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Client/) and copy it into the directory from which you execute scripts.
37+
**2. Upgrade your scripts.** If you're using **PowerShell** scripts to manage shards, [download the new library version](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Client/) and copy it into the directory from which you execute scripts.
3538

3639
**3. Upgrade your split-merge service.** If you use the elastic database split-merge tool to reorganize sharded data, [download and deploy the latest version of the tool](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Service.SplitMerge/). Detailed upgrade steps for the Service can be found [here](elastic-scale-overview-split-and-merge.md).
3740

@@ -40,12 +43,12 @@ Performing these steps in order ensures that old versions of the client library
4043
***Option 1: Upgrade metadata using PowerShell***
4144

4245
1. Download the latest command-line utility for NuGet from [here](https://nuget.org/nuget.exe) and save to a folder.
43-
2. Open a Command Prompt, navigate to the same folder, and issue the command:
46+
1. Open a Command Prompt, navigate to the same folder, and issue the command:
4447
`nuget install Microsoft.Azure.SqlDatabase.ElasticScale.Client`
45-
3. Navigate to the subfolder containing the new client DLL version you have just downloaded, for example:
48+
1. Navigate to the subfolder containing the new client DLL version you have downloaded, for example:
4649
`cd .\Microsoft.Azure.SqlDatabase.ElasticScale.Client.1.0.0\lib\net45`
47-
4. Download the elastic database client upgrade script from the [Script Center](https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-Database-Elastic-6442e6a9), and save it into the same folder containing the DLL.
48-
5. From that folder, run `PowerShell .\upgrade.ps1` from the command prompt and follow the prompts.
50+
1. Download the elastic database client upgrade script from the [Script Center](https://github.com/Azure/elastic-db-tools/), and save it into the same folder containing the DLL.
51+
1. From that folder, run `PowerShell .\upgrade.ps1` from the command prompt and follow the prompts.
4952

5053
***Option 2: Upgrade metadata using C#***
5154

@@ -66,7 +69,7 @@ Alternatively, create a Visual Studio application that opens your ShardMapManage
6669

6770
These techniques for metadata upgrades can be applied multiple times without harm. For example, if an older client version inadvertently creates a shard after you have already updated, you can run upgrade again across all shards to ensure that the latest metadata version is present throughout your infrastructure.
6871

69-
**Note:** New versions of the client library published to-date continue to work with prior versions of the Shard Map Manager metadata on Azure SQL Database, and vice-versa. However to take advantage of some of the new features in the latest client, metadata needs to be upgraded. Note that metadata upgrades will not affect any user-data or application-specific data, only objects created and used by the Shard Map Manager. And applications continue to operate through the upgrade sequence described above.
72+
**Note:** New versions of the client library published to-date continue to work with prior versions of the Shard Map Manager metadata on Azure SQL Database, and vice-versa. However to take advantage of some of the new features in the latest client, metadata needs to be upgraded. Metadata upgrades won't affect any user-data or application-specific data, only objects created and used by the Shard Map Manager. And applications continue to operate through the upgrade sequence described above.
7073

7174
## Elastic database client version history
7275

0 commit comments

Comments
 (0)