You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
17
20
18
21
**For the latest version:** Go to [Microsoft.Azure.SqlDatabase.ElasticScale.Client](https://www.nuget.org/packages/Microsoft.Azure.SqlDatabase.ElasticScale.Client/).
19
22
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.
21
24
22
25
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.
23
26
24
27
## Upgrade steps
25
28
26
29
**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.
27
30
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.
33
36
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.
35
38
36
39
**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).
37
40
@@ -40,12 +43,12 @@ Performing these steps in order ensures that old versions of the client library
40
43
***Option 1: Upgrade metadata using PowerShell***
41
44
42
45
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:
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.
49
52
50
53
***Option 2: Upgrade metadata using C#***
51
54
@@ -66,7 +69,7 @@ Alternatively, create a Visual Studio application that opens your ShardMapManage
66
69
67
70
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.
68
71
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.
0 commit comments