Tag: CosmosDB

C# Azure Functions to access CosmosDB
C# Azure Functions to access CosmosDB
Blog Posts

Interacting with CosmosDB from a serverless application can be achieved with very few lines of code using C#. Pre-requisites: A CosmosDB resource An Azure Functions resource An input binding (the CosmosDB resource) is required for read operations, while an output binding (the CosmosDB resource) is needed for the write operations. For each operation, I share the specific function.json required. Considerations: In each code there is a model (class) of… READ MORE