Archives

How to resolve : Cosmos DB x-ms-partitionkey Error

One of the most repeated question that i came across on stackoverflow on the tag #Cosmosdb is that how to resolve the error “The partition key supplied in x-ms-partitionkey header has fewer components than defined in the the collection” This error could occur when you are attempting to get a Document from Cosmosdb using the […]

Read More

How world reacts to Work from home(#WFH) using Serverless with Azure(CosmosDB + Functions + LogicApps)

Overview: Due to the recent COVID outbreak and as it continues to spread throughout the world, employees are being to asked to work from home. While most of the companies are already getting adapted to this new way of working, there are mixed opinions among employees from different parts of the world. IMO , Working from […]

Read More

Corona Escape – Game with Python and Cosmosdb

I’ve been gaming since 2003 till now.I remember those sleepless nights and how much fun i had playing PC games. I always wanted to be a game designer since my childhood days and have built lot of small games during my university days. After a very long time i invested some time and built a […]

Read More

Create Github Issue Reporter with Azure Function and CosmosDB

Many times you would have wanted to have one view/dashboard of all the Github issues created for your open source repositories. I have almost 150 repositories and it becomes really hard to find which are the priority ones to be fixed. In this post we will see how you can create a one dashboard/report to […]

Read More

Retrieve documents without Metadata properties in Azure CosmosDB

One of the interesting queries that i got from my colleague is that how to get rid of the metadata properties when retrieving documents from Cosmosdb. It seemed like a very reasonable expectation to have the option with the document “GET” API call to be able to retrieve exactly what he created using the document […]

Read More

Explore and Test Cosmos DB Rest APIs with POSTMAN

I have been working with Cosmos DB for almost 2 years and most of the time i have used SDKs to connect to Cosmos DB. In the recent times i started consuming Rest API for my hybrid application. One of the tricky part in Cosmos DB is that connecting to it and running queries with […]

Read More

Programmatically change CosmosDB Request Units(RU) with Azure function 2.x and Cosmos DB SDK 3.0

When you are involving in an architectural discussion which involves Azure’s cosmosdb, a mandatory question that you get is “Is not Azure Cosmos DB very expensive?”. Based on the fact that Cosmos DB is evolving very fast, there are lot of customers stepping in to use the service in their architecture. To understand one thing […]

Read More

How Azure CosmosDB + Functions + IOT hub + PowerBI could solve the burning Traffic problem

Road traffic is a very classic and burning problem in Sri Lanka and in most of the Asian countries. Personally I have to spend 2 hours on the road everyday by just stuck in the traffic and I assume the same for other people who gets stuck for many hours with no way out. I […]

Read More

Build hybrid apps with Cosmosdb + Ionic

I was at the Global Azure Bootcamp recently concluded last week, one of the participant came and asked me, “Hey what is Cosmos DB” I casually responded “Well, that’s Microsoft’s globally distributed, massively scalable, horizontally partitioned, low latency, fully indexed, multi-model NoSQL database”. The immediate question came after that was whether it supports hybrid applications. […]

Read More

Transform and Migrate data from MSSQL to Cosmosdb

Recently, I was involved in working with a customer who had their data in on prem SQL server. As they are shifting their soultion to Cloud(Azure) with Cosmosdb, the first requirement was to migrate the existing data to Cosmosdb. In this post, I will be explaining on how to do the migration and also how […]

Read More

%d bloggers like this: