Azure Cosmos DB: ID-based routing

Freitag, 14. August 2015

The ID-based routing update for Azure Cosmos DB adds support for using an alternate link to address resources via REST, a link composed of IDs that you supplied when you created the resource. Until now, all resources in Azure Cosmos DB were reachable via the _self property or a SelfLink. A SelfLink is made up of immutable _rid properties or resource IDs. With this update, you can use a URI that contains ID properties instead of the resource ID. These updates are available in Azure Cosmos DB .NET SDK version 1.4.0. No changes are needed in Node.js, Python, and Java SDKs. Simply construct the URIs as strings with the ID properties you need. To learn more about this release, read the blog announcement: Azure Cosmos DB bids fond farewell to Self-Links. For more information about Azure Cosmos DB, visit the Azure Cosmos DB page.

Kostenloses Konto

Mit einem Guthaben von $200 lernen und erstellen und von weiteren kostenlosen Produkten profitieren

Kostenlos starten

Visual Studio

Abonnenten erhalten bis zu $1800 jährlich für Azure-Dienste

Jetzt aktivieren

Startups

Machen Sie mit beim BizSpark-Programm, und nutzen Sie kostenlose Azure-Dienste.

Weitere Informationen