feat: Add .NET Client SDK examples (console + MAUI)#4
Draft
jsonbailey wants to merge 1 commit into
Draft
Conversation
4ea8326 to
6f4656b
Compare
Contributor
Author
|
Updated to per-slice CI: the workflow is now |
Migrates the examples from launchdarkly/hello-dotnet-client into the client-sdk/ partition following the EXAM layout: - console app -> client-sdk/getting-started/ (Flag Retrieval) - .NET MAUI app -> client-sdk/frameworks/maui/ (Android & iOS) Adds the partition README index, per-example NOTICE files (2023), the root README row, and a gitignore for the MAUI appsettings (keys). Ports the old repo's CI as client.yml (console build+run via verify-hello-app mobile key; MAUI Android build+emulator-run on ubuntu; MAUI Android+iOS build on macOS), applying the action pinning convention. Sourced from hello-dotnet-client (SDK-2561).
6f4656b to
1ffd83d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates both examples from
launchdarkly/hello-dotnet-clientintoexamples-dotnet, following the EXAM layout.Layout
LaunchDarkly.ClientSdk→client-sdk/).getting-started/; MAUI →frameworks/maui/(per EXAM, frameworks hold runtime-specific examples).global.json(SDK 8.0) scoped to the MAUI dir so it doesn't constrain the other examples.appsettings.json(holds the mobile key) is gitignored;appsettings.example.jsonis committed.CI (
client.yml, ported from the old repo's recipe)maui-android, build the MAUI APK, run it on an Android emulator (verify-maui-android.sh), and run the console app viaverify-hello-app(mobile key).Notes / caveats
use_mobile_keySSM params (/sdk/common/hello-apps/mobile-key), already used by the old repo.build.yml(introduced in feat: Add .NET Server AI SDK examples #2) lands, its glob should excludeclient-sdk/frameworks/maui/(MAUI can't build in the generic loop); the console is fine to keep in the generic build.Part of SDK-2559. Covers the migration portion of SDK-2561 (old-repo README repoint + Terraform archive tracked on that ticket).
Jira: SDK-2561