Commit a0f5cf8
authored
docs: [SDK-2206] add README for .NET AspSampleApp (#473)
## Summary
Document how to run the sample ASP.NET Core app that exercises the
LaunchDarkly.Observability plugin, including required env vars,
endpoints, and flag names. Also rename the placeholder service name from
"ryan-test-service" to "asp-core-test-service" in the sample and in the
XML doc example on ObservabilityPlugin.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Documentation-only plus a sample configuration string change; no
production/runtime logic is modified.
>
> **Overview**
> Adds a new `AspSampleApp/README.md` documenting prerequisites, how to
run the sample (including `LAUNCHDARKLY_SDK_KEY`), relevant flag names,
and the available demo endpoints for exercising `Observe` APIs and flag
evaluation.
>
> Renames the sample/placeholder `WithServiceName` value to
`asp-core-test-service` in both `AspSampleApp/Program.cs` and the
XML-doc example in `ObservabilityPlugin` to keep emitted telemetry
labeling consistent.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
61932f2. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- ld-jira-link -->
---
Related Jira issue: [SDK-2206: Improve ASP.Net Core
example.](https://launchdarkly.atlassian.net/browse/SDK-2206)
<!-- end-ld-jira-link -->1 parent c677962 commit a0f5cf8
3 files changed
Lines changed: 79 additions & 2 deletions
File tree
- sdk/@launchdarkly/observability-dotnet
- AspSampleApp
- src/LaunchDarkly.Observability/Asp/Core
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 77 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments