Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Feature managment in Blazor WASM

$
0
0

Is there any resource to help me configure features in Blazor WASM project?

I know of the package from Microsoft: Microsoft.FeatureManagement.AspNetCore andMicrosoft.FeatureManagement.

I have implemented the feature management on server side which was easy and very simple to use and understand.I have no idea about it in blazor wasm.

We have a WASM project in .net 7 and I added the nuget package Microsoft.FeatureManagement and am injecting and using the IFeatureManager throughout the application but it seems like the package is not reading the boolean from the appsettings.json file which resides in the server project, and thus all features are marked as false.

The solution I see now seems to be writing my own FeatureManager service which doesn't seem that much of a hazzle but it would be nice to have some kind of attributes or something to lock pages and/or components behind a feature flags in blazor wasm


Viewing all articles
Browse latest Browse all 4839

Trending Articles