Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Getting started - based on roll dice service and Automatic Instrumentation #3167

Merged
merged 16 commits into from
Aug 21, 2023
Prev Previous commit
Next Next commit
Merge branch 'main' into dotnet-rolldice-by-autoinstrumentation
Kielek committed Aug 16, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 59be712b0777e05ce39201ee680b6e3967908873
7 changes: 4 additions & 3 deletions content/en/docs/instrumentation/net/getting-started.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,8 @@ Within that directory, execute following command:
dotnet new web
```

In the same directory, replace the content of `Program.cs` with the following code:
In the same directory, replace the content of `Program.cs` with the following
code:

```csharp
using System.Globalization;
@@ -73,10 +74,10 @@ string HandleRollDice(string? player)

return result.ToString(CultureInfo.InvariantCulture);
}

```

In the `Properties` subdirectory, replace the content of `launchSettings.json` with the following:
In the `Properties` subdirectory, replace the content of `launchSettings.json`
with the following:

```json
{
You are viewing a condensed version of this merge commit. You can view the full changes here.