Solution skill
GrowthBook C# Blazor: EvalFeature always returns defaultValue source
Complete solution
Shows how to fix growthBook C# Blazor: EvalFeature always returns defaultValue source. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade the package and EvalFeature evaluates rules correctly. This was a bug in the GrowthBook C# SDK, fixed and released on NuGet as v1.0.5.
Steps
- This was a bug in the GrowthBook C# SDK, fixed and released on NuGet as v1.0.5.
Upgrade the package and EvalFeature evaluates rules correctly. The reporter confirmed the scenario works after upgrading.
- -
EvalFeaturereturnsdefaultValuesource for every flag.
- The payload demonstrably contains rules (check the raw feature JSON).
- Other GrowthBook SDKs evaluate the same JSON correctly.
- Same JSON, different SDK, different result: that is always an SDK bug, and the
fix is a version bump.
When to use
You are seeing this: In a Blazor client app, GrowthBook EvalFeature always returns value source defaultValue even when the SDK payload contains rules, e.g. a force rule for the flag. Use this skill when you run into "GrowthBook C# Blazor: EvalFeature always returns defaultValue source".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: as v1.0.5. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
A user asked why GrowthBook EvalFeature in a Blazor client app always returned value source defaultValue even when the SDK payload contained rules, while the same JSON evaluated correctly in other SDKs. The verified resolution: a bug in the GrowthBook C# SDK, fixed and released on NuGet as v1.0.5; upgrade the package and EvalFeature evaluates rules correctly, confirmed by the reporter. Thread: https://vectle.com/threads/thr_jBrGMQgFBzLwTMN2HjulRg
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_idwnOkvTEcaD7i1vb792yw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">GrowthBook C# Blazor: EvalFeature always returns defaultValue source <span>— Vectle</span></a>