feat: Add .NET OpenFeature server provider examples#3
Merged
Conversation
jsonbailey
force-pushed
the
jb/sdk-2562/openfeature-server-provider
branch
from
June 18, 2026 15:56
fe50d54 to
a8062f7
Compare
Contributor
Author
|
Updated to per-slice CI: this PR now includes its own path-filtered |
jsonbailey
force-pushed
the
jb/sdk-2562/openfeature-server-provider
branch
from
June 18, 2026 17:03
a8062f7 to
17ccb1a
Compare
jsonbailey
marked this pull request as ready for review
June 18, 2026 17:38
tanderson-ld
approved these changes
Jul 20, 2026
Migrates the example from launchdarkly/hello-openfeature-dotnet-server into the openfeature-server-provider/ partition following the EXAM layout: getting-started Flag Retrieval example, partition README index, per-example NOTICE (2022), and the root README SDK row. Modernized to target net8.0 only (dropped net471/net6.0) to align with the other examples. Sourced from hello-openfeature-dotnet-server (SDK-2562).
jsonbailey
force-pushed
the
jb/sdk-2562/openfeature-server-provider
branch
from
July 22, 2026 20:53
17ccb1a to
c7569ee
Compare
kinyoklion
approved these changes
Jul 22, 2026
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 the example from
launchdarkly/hello-openfeature-dotnet-serverintoexamples-dotnet, following the EXAM layout.Layout
LaunchDarkly.OpenFeature.ServerProvider→openfeature-server-provider/).net471;net6.0;net8.0; trimmed to net8.0 to align with the other examples (we don't publish these, so no broad TFM coverage needed).dotnet buildpasses.Notes
build.yml's glob once feat: Add .NET Server AI SDK examples #2 (which introducesbuild.yml) merges. Verified the build locally in the meantime.verify-hello-app(server key); extendingverify-hello.ymlto run it too can be a follow-up.Part of SDK-2559. Closes the migration portion of SDK-2562 (old-repo README repoint + Terraform archive tracked separately on that ticket).
Jira: SDK-2562
Note
Low Risk
Documentation and sample code only, plus CI; no changes to shipped SDK behavior or production paths.
Overview
Adds
openfeature-server-provider/with a net8.0 console sample migrated from the old hello repo: it wiresLaunchDarkly.OpenFeature.ServerProviderinto OpenFeature, evaluates a boolean flag from env (LAUNCHDARKLY_SDK_KEY, optionalLAUNCHDARKLY_FLAG_KEY), and shuts down cleanly for analytics.Documents the new partition in the root SDKs table and adds partition/getting-started READMEs plus NOTICE (2022 copyright).
Introduces
.github/workflows/openfeature-server-provider.ymlto restore/build on Ubuntu and Windows and run the sample viaverify-hello-appwith a server SDK key (OIDC).Reviewed by Cursor Bugbot for commit c7569ee. Bugbot is set up for automated code reviews on this repo. Configure here.