https://github.com/octopusdeploy/openfeature-provider-dotnet
An OctopusDeploy dotnet OpenFeature provider
https://github.com/octopusdeploy/openfeature-provider-dotnet
Last synced: 9 days ago
JSON representation
An OctopusDeploy dotnet OpenFeature provider
- Host: GitHub
- URL: https://github.com/octopusdeploy/openfeature-provider-dotnet
- Owner: OctopusDeploy
- License: apache-2.0
- Created: 2024-04-24T04:30:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-20T09:29:02.000Z (22 days ago)
- Last Synced: 2026-01-20T13:30:26.196Z (22 days ago)
- Language: C#
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Octopus Deploy OpenFeature provider for .NET
The OctopusDeploy .NET [OpenFeature provider
](https://openfeature.dev/docs/reference/concepts/provider/)
## About Octopus Deploy
[Octopus Deploy](https://octopus.com) is a sophisticated, best-of-breed continuous delivery (CD) platform for modern software teams. Octopus offers powerful release orchestration, deployment automation, and runbook automation, while handling the scale, complexity and governance expectations of even the largest organizations with the most complex deployment challenges.
## Supported .NET Versions
This SDK is currently built for .NET 8.0, meaning it will run on .NET 8.0 and above.
If you require support for additional versions, please raise an issue.
## Getting Started
### Installation
```
dotnet add package OpenFeature
dotnet add package Octopus.OpenFeature
```
### Usage
```c#
var clientIdentifier = Environment.GetEnvironmentVariable("Octopus__Features__ClientIdentifier");
var provider = new OctopusFeatureProvider(new OctopusFeatureConfiguration(clientIdentifier));
await OpenFeature.Api.Instance.SetProviderAsync(provider);
var client = OpenFeature.Api.Instance.GetClient();
if (await client.GetBooleanValue("to-the-moon-feature", false))
{
Console.WriteLine("🚀🚀🚀");
}
```
For information on using the OpenFeature client please refer to the [OpenFeature Documentation](https://docs.openfeature.dev/docs/reference/concepts/evaluation-api/).