0% found this document useful (0 votes)
2 views

Lab_Azure Cosmos Db Ecom App

Uploaded by

SanjeevSonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lab_Azure Cosmos Db Ecom App

Uploaded by

SanjeevSonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Azure cosmos db account

Capacity mode

 Provisioned throughput
 Serverless

https://learn.microsoft.com/en-us/azure/cosmos-db/throughput-serverless

You need to add a container named 'items' to the Cosmos DB, and add an item to it. You can use the
JSON file in the resources of this task for the item details. Create a new database named 'myStore'
for this container, and remember that a database is a collection of containers.
Expand the myStore database and click the items container. (If you're shown a pop-up window with
a training video, close it.)

In the Data Explorer toolbar, click New Item.


https://parveensingh.com/cosmos-db-parition-keys/
Make sure the data is updated with Cosmos DB's fields.

Deploying app from cloud shell (Upload zip)

az webapp deploy -g Regroup_7ofJrvlxG6IzDUu9r -n webapp5131 --src-path


MyStoreWebApp.zip
Under App service  setting  Environment variable  add URI and key
Test the app
In each consistency level, we measure the consistency and availability
supported by it. Here, consistency means that every read operation should be
current with the latest writes and availability means that every request
should get a response.

https://www.c-sharpcorner.com/article/diving-deep-into-different-consistency-levels-of-azure-
cosmos-db/

You might also like