Skip to content
This sample demonstrates how to store reports in ASP.NET Core using Azure Cosmos DB
C# HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DXCosmosExample initial commit Aug 5, 2019
.gitignore initial commit Aug 5, 2019
DXCosmosExample.sln initial commit Aug 5, 2019
README.md initial commit Aug 5, 2019

README.md

ASP.NET Core Reporting – Store Reports within a Database Using Azure Cosmos DB

Prerequisites

The report storage implementation demonstrated in this sample supports both the SQL and MongoDB API. Use the CosmosClient class located in the Microsoft.Azure.Cosmos NuGet Package, if using the SQL API (for Azure Cosmos DB Storage access). To start using this sample, open the appSettings.json file and provide your connection details:

"CosmosSettings": {
    "DatabaseId": "TestDb",
    "ContainerId": "Reports",
    "SqlConnection": "<sql connection>",
    "MongoConnection": "<mongo connection>"
  }
You can’t perform that action at this time.