How to delete all documents in Cosmosdb Collection

I have been working with couple of applications built with CosmosDB and one of the things that surprised me was one cannot clear all documents in a collection from the Azure web portal or using the Storage Explorer. As I was struggling to do this while doing some tests on the application I decided to… Read More How to delete all documents in Cosmosdb Collection

Resolve Issue : ASP.NET Core 2.1 runs fine locally but when publishing to Azure says “An error occurred while starting the application.”

After building my first production ready application with ASP.NET Core 2.1 and tested locally when i tried to deploy for the first time on Azure, I was stuck with the following page. Since many different problems can cause this error page, I would strongly recommend the following in order to determine the root cause quickly… Read More Resolve Issue : ASP.NET Core 2.1 runs fine locally but when publishing to Azure says “An error occurred while starting the application.”

Wear out the features of Azure CosmosDB with AspNetCore application

Azure CosmosDB (Azure Cosmos DB – Globally Distributed Database Service (formerly DocumentDB) | Microsoft Azure) is a super set of the service once known as “Azure Document Db”. In short: “Azure CosmosDB ” = “Azure Document Db” + new data types + new APIs. You can try CosmosDB  for free on Azure or you can setup the CosmosDB on your local… Read More Wear out the features of Azure CosmosDB with AspNetCore application

How to configure localization on Asp.Net Core project

In this post I’ll walk through the process of adding localization to an ASP.NET Core application. Localization in ASP.NET Core is almost similar to the way it works in the ASP.NET 4.X. You have to define a number of .resx resource files in your application, one for each culture you support. You then reference resources… Read More How to configure localization on Asp.Net Core project

Setting up Azure CosmosDB with Visual Studio Code in Local Environment

Recently I started experimenting with Azure’s CosmosDB and developed few applications using the same. To start with it this blog will help all the Azure/CosmosDB developers out there to easily setup with visual studio code. I will be sharing how to connect to Azure CosmosDB without using the portal in local machine. To start with it,… Read More Setting up Azure CosmosDB with Visual Studio Code in Local Environment