MicrosoftLearning / dp-420-cosmos-db-dev

DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
https://microsoftlearning.github.io/dp-420-cosmos-db-dev/
MIT License
81 stars 95 forks source link

Lab 25: no json sample files provided #40

Closed KoenVerbeeck closed 1 year ago

KoenVerbeeck commented 1 year ago

Module: 11

Lab/Demo: 1

Task: Run a script to create the containers and the workload

Step: Build and run the project using the dotnet run command

When you run the code on your own machine, targeting your own cosmos db instance, you get an error because it can't find the json files with the sample data.

image

Repro steps:

  1. Follow the steps described in https://github.com/MicrosoftLearning/dp-420-cosmos-db-dev/blob/main/instructions/25-monitor.md
  2. Copy the program.cs code (https://github.com/MicrosoftLearning/dp-420-cosmos-db-dev/blob/main/25-monitor/Program.cs) into your own solution and run it.
  3. It crashes, because there are no json files.
MScalopez commented 1 year ago

@KoenVerbeeck, the good news, you should be able to find the dataset at https://github.com/MicrosoftLearning/dp-420-cosmos-db-dev/tree/main/data, download it and it should allow you to run the lab on your local machine.