Skip to main content
Published
Feb 26, 2025
1y ago
Total Downloads
49.9K
49,873

Install

dotnet add package CommunityToolkit.Aspire.Hosting.GoFeatureFlag --version 9.2.0-beta.201
ProductVersions
.NET
net8.0net9.0

README

CommunityToolkit.Aspire.Hosting.GoFeatureFlag library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support running GO Feature Flag containers.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.GoFeatureFlag

Example usage

Then, in the Program.cs file of AppHost, add a GO Feature Flag resource and consume the connection using the following methods:

var builder = DistributedApplication.CreateBuilder(args);

var goff = builder.AddGoFeatureFlag("goff");

var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(goff);

builder.Build().Run();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/hosting-go-feature-flag

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v9.2.0-beta.199 and v9.2.0-beta.201.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.