From b4c026fd1588610f57a4ebe7dc6fda3801b5f420 Mon Sep 17 00:00:00 2001 From: mikelle-rogers <45022607+mikelle-rogers@users.noreply.github.com> Date: Tue, 19 Apr 2022 06:58:17 -0600 Subject: [PATCH] Clarify how to get the code onto local machine (#5108) I was following a tutorial and finally asked my teammate how to clone the repo because I could not figure it out. The solution was to go to the root of the repo. --- core/diagnostics/DiagnosticScenarios/readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/diagnostics/DiagnosticScenarios/readme.md b/core/diagnostics/DiagnosticScenarios/readme.md index 95041cba163..06d282c19b7 100644 --- a/core/diagnostics/DiagnosticScenarios/readme.md +++ b/core/diagnostics/DiagnosticScenarios/readme.md @@ -12,6 +12,10 @@ description: "A .NET Core sample with methods that trigger undesirable behaviors The sample debug target is a simple `webapi` application. The sample triggers undesirable behaviors for the [.NET Core diagnostics tutorials](https://docs.microsoft.com/dotnet/core/diagnostics/index#net-core-diagnostics-tutorials) to diagnose. +## Download the source + +To get the code locally on your machine, click on '<> Code' in the top left corner of this page. This will take you to the root of the repo. Once at the root, clone the samples repo onto your local machine and navigate to samples/core/diagnostics/DiagnosticScenarios/. + ## Build and run the target After downloading the source, you can easily run the webapi using: