Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use azure feature flag in asp.net core Blazor #170

Open
danroth27 opened this issue Oct 28, 2019 · 13 comments
Open

How to use azure feature flag in asp.net core Blazor #170

danroth27 opened this issue Oct 28, 2019 · 13 comments
Assignees
Labels
enhancement New feature or request FeatureManagement

Comments

@danroth27
Copy link

From @ajai1109 on Friday, October 25, 2019 12:30:26 PM

How to use azure feature flag in asp.net core Blazor

Copied from original issue: dotnet/aspnetcore#15592

@danroth27
Copy link
Author

From @javiercn on Monday, October 28, 2019 8:49:51 AM

@ajai1109 thanks for contacting us.

Can you provide a bit more details on what you are trying to achieve? We're not sure what "azure feature flag" means in this context.

@danroth27
Copy link
Author

From @ajai1109 on Monday, October 28, 2019 1:46:04 PM

I am trying to implement azure feature flags in asp.net core blazor project. Please go through this link https://docs.microsoft.com/en-us/azure/azure-app-configuration/quickstart-feature-flag-aspnet-core for your reference

@danroth27
Copy link
Author

From @javiercn on Monday, October 28, 2019 1:57:23 PM

@ajai1109 There's no specific support on Blazor to do that, and that's not something that the ASP.NET Core team works on.

@bradygaster Can you loop in the right people here so that we can provide guidance or improve the experience for Blazor users?

To get a faster response we suggest posting your questions to StackOverflow using the asp.net-core-blazor tag.

@ajai1109
Copy link

Is there any documentation to implement azure feature flags in asp.net core blazor application.

@danroth27
Copy link
Author

@yegu-ms

@zhenlan
Copy link
Contributor

zhenlan commented Oct 30, 2019

@ajai1109 good question. This is an area we didn't look into feature management support yet.

The Azure App Configuration is mainly targeting server/service scenarios at this point. We are interested to extend it to client scenarios in the future (eg. support millions of concurrent client requests for one config store). Blazor is for client web development. We need to explore how the App Configuration can be useful with Blazor.

Microsoft.FeatureManagement.AspNetCore as a feature management framework for ASP.NET Core is independent of App Configuration. I think we should definitely look into what support we need to add for Blazor.

@zhenlan zhenlan self-assigned this Oct 30, 2019
@zhenlan
Copy link
Contributor

zhenlan commented Oct 31, 2019

This is also tracked in microsoft/FeatureManagement-Dotnet#4

@bradygaster
Copy link

@danroth27 and rest - apologies, just saw this note. @ajai1109 have you taken a look at this documentation?

https://docs.microsoft.com/en-us/azure/azure-app-configuration/quickstart-feature-flag-aspnet-core

If so, is there a functionality gap you're witnessing with Blazor apps? Or, are you more explicitly asking about client-side Blazor support for Azure Feature Flags and/or Azure App Configuration?

@ajai1109
Copy link

ajai1109 commented Nov 7, 2019

@bradygaster I have gone through that document but it is not straight forward to implement Azure-Feature-Flags in Blazor app (server-side). If any document specific to Blazor applications it will be helpful for all those who are planning to implement Azure-Feature-Flags in Blazor app. Thanks!

@robertmclaws
Copy link

@bradygaster et al, I'm working to implement Feature Flags in our Blazor WebAssembly port of BurnRate.io. Are there any docs specifically for this yet? I saw the Server-Side version here (thanks Brady!), but it isn't entirely clear how to call .ConfigureAppConfiguration() in a client-side scenario, and it's not clear that this issue has been resolved either.

Any insights you could provide would be awesome. Thanks so much!

@jimmyca15
Copy link
Member

@robertmclaws

There aren't any docs for using Azure App Configuration feature flags in Blazor. As you mentioned we have a solution laid out and documented for server-side feature flags and configuration but there are still improvements to be made before we can have parity for client-side feature flags.

@robertmclaws
Copy link

If you are porting an app from Javascript, then you don't get all the fancy Feature Flag wire-up stuff that you get on the server-side. So I think it's important to manage expectations on both sides.

Honestly, I think this is what most people are looking for right now: https://docs.microsoft.com/en-us/dotnet/api/overview/azure/data.appconfiguration-readme?view=azure-dotnet-preview. Just found the docs for it, and I think pointing people to this library for now is sufficient, given the circumstances.

Thanks!

@jimmyca15
Copy link
Member

@robertmclaws

I see, if the SDK suits your needs then that is perfect. One thing I want to call out here though for client-side usage is scalability.

Azure App Configuration has a request quota detailed here. Depending on the scale of the client-side application it is possible to reach limits quickly. Client-side and server side scaling are different in this regard. Server side instances are usually smaller in number and can do better caching. This is one of the areas with room for improvement that I was talking about previously. What we have suggested before to resolve this issue is to host a proxy-like web application that queries App Configuration and caches it for use by client-side applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FeatureManagement
Projects
Azure App Configuration Roadmap
Generally Available (Done)
Development

No branches or pull requests

7 participants