Back to Product Updates
SDKs

C# SDK 2.1.0 adds a multi-user GrowthBookClient

November 17, 2026

C# SDK 2.1.0 adds GrowthBookClient, which loads features once and evaluates them for a user you pass with each call. One instance can serve many users, and you can register it as a singleton with dependency injection.

One client for many users

The SDK's GrowthBookFactory creates one GrowthBook instance per user. GrowthBookFactory is now marked obsolete in favor of GrowthBookClient.

  • You build a UserContext for the user being evaluated and pass it with the call. UserContext is now public.
  • The client's options hold your SDK connection's client key, an API host that defaults to https://cdn.growthbook.io, and an optional decryption key for encrypted payloads.
  • The existing IGrowthBook interface does not change. GrowthBookClient is a new type alongside it.

Registration and the first load

  • AddGrowthBookClient registers the client as a singleton and loads features before its first use.
  • A response with no features payload counts as a failed load, not an empty one.
  • Set ThrowOnInitializationFailure if a failed initial load should stop the client from resolving. The registration then disposes the client and rethrows.
  • The package now depends on Microsoft.Extensions.DependencyInjection.Abstractions.

Safer typed reads

In the existing GrowthBook class, GetFeatureValue and GetFeatureValueAsync now return your fallback when a value can't be converted to the requested type. Reading "off" as a bool used to throw a FormatException. When a logger is configured, the SDK also logs a warning.

Getting started

Install or upgrade the package with dotnet add package growthbook-c-sharp --version 2.1.0. Then call AddGrowthBookClient in your service registration, or construct GrowthBookClient with options that include your client key. Pass a UserContext with each evaluation.

The C# SDK documentation covers installation and the existing GrowthBook class. Log in to GrowthBook to copy the client key from the SDK connection your application uses.

Similar updates

See All Updates
SDKs

The Swift SDK moves from CocoaPods to Swift Package Manager

November 18, 2026
Experimentation
Integrations

Read experiment health and decisions through the REST API

November 18, 2026
Experimentation
Feature Flags

Tune contextual bandits with period weighting and exploration

November 18, 2026
Key Feature
SDKs

Run type-safe feature flags from your TypeScript repo

November 16, 2026
SDKs
Integrations

Evaluate GrowthBook flags through OpenFeature in Kotlin and Swift

November 6, 2026
Key Feature
Feature Flags

Target lists with millions of IDs using Remote Saved Groups

November 3, 2026
Key Feature
AI Platform

Confirm risky agent changes with Human in the Loop

November 3, 2026
Key Feature
Experimentation

Compare ranking algorithms with interleaving experiments (private beta)

November 3, 2026
Integrations

Event Forwarder adds a free tier on Starter plans

November 3, 2026
Feature Flags
Integrations

Roll back ramp-ups from Datadog alerts

November 3, 2026
Integrations

Expanded REST API coverage in GrowthBook 5.2

November 3, 2026
Integrations

Sync dbt semantic layer metrics to GrowthBook

November 3, 2026
Experimentation

Personalize AI Visual Editor variations with contextual bandits

November 3, 2026
Integrations

Redesigned data source setup for connecting your warehouse

November 3, 2026
Experimentation

Create threshold and active days metrics and preview the results

November 3, 2026
Experimentation

Redesigned experiment page with inline editing and a To Do tab

November 3, 2026
Experimentation

See what drives warehouse usage on each data source

November 3, 2026
Experimentation

Inspect experiment exposure logs on the Health tab

November 3, 2026
Key Feature
SDKs

Evaluate multiple Java feature flags in one call

October 15, 2026
Key Feature
Product Analytics

Inspect warehouse query statistics and audit records

October 12, 2026
Key Feature
Product Analytics

See how analysis adjustments affect a metric's results

October 12, 2026
Key Feature
Feature Flags

Reuse Saved Groups and find broken targeting references

October 9, 2026
Key Feature
Product Analytics

Connect LLM traces to experiment metrics

October 5, 2026
Key Feature
AI Platform

Set up GrowthBook SDKs with your coding agent

September 29, 2026
Key Feature
Product Analytics

Explore user journeys in Product Analytics

September 22, 2026
Key Feature
Product Analytics

Explore SQL results and turn them into charts

September 22, 2026
Key Feature
Integrations

New Slack integration

September 22, 2026
Key Feature
AI Platform

Connect agents to hosted MCP with OAuth

September 22, 2026
Key Feature
Experimentation

Measure multi-step funnels inside experiments

September 22, 2026
Key Feature
Feature Flags

Personalize variations with contextual bandits (beta)

September 22, 2026
Key Feature
Product Analytics

Keep Managed Warehouse event data in the EU

September 11, 2026
Key Feature
Experimentation

Capture reusable Learnings across experiments

August 27, 2026
Key Feature
Integrations

Analyze Adobe Experience Platform data in GrowthBook

August 18, 2026
Key Feature
SDKs

Use typed feature values in Swift and Kotlin

August 15, 2026
Key Feature
Feature Flags

Share feature flags across projects

July 24, 2026
Key Feature
Feature Flags

Validate string and number flags with schemas and scoped hooks

July 23, 2026
Key Feature
Integrations

Connect Databricks with service principal OAuth

July 22, 2026
Key Feature
Product Analytics

Product Analytics is generally available

July 20, 2026
Key Feature
AI Platform

Build website variations with the AI Visual Editor

July 20, 2026
Key Feature
AI Platform

Use the in-app AI Assistant across GrowthBook

July 20, 2026
Key Feature
AI Platform

Use agent skills and the rebuilt GrowthBook CLI

July 20, 2026
Key Feature
Experimentation

Create experiment drafts before finishing analysis setup

July 20, 2026
Key Feature
Experimentation

Apply custom validation before experiment changes

July 16, 2026
Key Feature
Feature Flags

Scheduled analysis refreshes for monitored ramps

July 14, 2026
Key Feature
SDKs

Remote evaluation in Python, PHP, and Java

June 30, 2026
Key Feature
Feature Flags

Review and schedule changes to Saved Groups

June 29, 2026
Key Feature
Feature Flags

Override selected fields in JSON flag values

June 19, 2026
Key Feature
Product Analytics

Use incremental refresh with Snowflake

May 28, 2026
Key Feature
Feature Flags

Run bandits without sticky bucketing

May 27, 2026
Key Feature
Product Analytics

Run Product Analytics explorations through MCP and REST

May 27, 2026
Key Feature
AI Platform

Ask the AI Data Analyst about your product metrics

May 27, 2026
Key Feature
Feature Flags

Plan gradual releases with ramp schedules

May 27, 2026
Key Feature
Experimentation

Manage the experiment lifecycle through the REST API

May 27, 2026