Skip to content

feat: Add .NET OpenFeature server provider examples#3

Open
jsonbailey wants to merge 1 commit into
mainfrom
jb/sdk-2562/openfeature-server-provider
Open

feat: Add .NET OpenFeature server provider examples#3
jsonbailey wants to merge 1 commit into
mainfrom
jb/sdk-2562/openfeature-server-provider

Conversation

@jsonbailey

Copy link
Copy Markdown
Contributor

Summary

Migrates the example from launchdarkly/hello-openfeature-dotnet-server into examples-dotnet, following the EXAM layout.

Layout

openfeature-server-provider/
├── README.md                    # index (Getting Started)
└── getting-started/             # Flag Retrieval
    ├── HelloOpenFeatureDotnet.csproj
    ├── Hello.cs
    ├── README.md
    └── NOTICE                   # Copyright 2022 (from the old repo)
  • Partition named after the package (LaunchDarkly.OpenFeature.ServerProvideropenfeature-server-provider/).
  • Modernized to net8.0 only — the original multi-targeted 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).
  • Root README gains the OpenFeature row; per-example NOTICE carries the old repo's 2022 copyright; BOM stripped.
  • Verified: dotnet build passes.

Notes

  • Build CI: this example is auto-covered by build.yml's glob once feat: Add .NET Server AI SDK examples #2 (which introduces build.yml) merges. Verified the build locally in the meantime.
  • The old repo ran the example via verify-hello-app (server key); extending verify-hello.yml to 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

@jsonbailey jsonbailey force-pushed the jb/sdk-2562/openfeature-server-provider branch from fe50d54 to a8062f7 Compare June 18, 2026 15:56
@jsonbailey

Copy link
Copy Markdown
Contributor Author

Updated to per-slice CI: this PR now includes its own path-filtered openfeature-server-provider.yml that builds only the openfeature-server-provider/ examples. This supersedes the earlier note about build CI arriving via #2's build.yml.

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 jsonbailey force-pushed the jb/sdk-2562/openfeature-server-provider branch from a8062f7 to 17ccb1a Compare June 18, 2026 17:03
@jsonbailey jsonbailey marked this pull request as ready for review June 18, 2026 17:38
@jsonbailey jsonbailey requested a review from a team as a code owner June 18, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant