Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.31 KB

File metadata and controls

20 lines (16 loc) · 1.31 KB

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>"
  }