Comments (4)
It breaks the pattern a bit because that would be attempting to consume the feature manager before the service provider has been built. Right now there is no clean built-in way to do this, you would have to build an intermediate service provider which is not a good approach.
By the way, are you looking for something similar to what is discussed in this issue Azure/AppConfiguration#68 ?
from featuremanagement-dotnet.
Sorry for late response, correct, it's a duplicate of the existing #39
from featuremanagement-dotnet.
hi, i have this code:
services.AddHttpClient("ApiServices",
c => { c.BaseAddress = new Uri(Urls.ApiUrl); })
.ConfigurePrimaryHttpMessageHandler(() =>
{
if (disableSslCertValidation)
{
return new HttpClientHandler
{
ServerCertificateCustomValidationCallback =
(message, certificate, chain, sslPolicyErrors) => true
};
}
return new HttpClientHandler();
})
.AddTypedClient(RestService.IFor<ApiServices>);
which would need to use feature management in Startup.cs
, is there a way to do this? it seems similar to the issue @VladimirLevchuk mentioned
from featuremanagement-dotnet.
Closing as a duplicate of #39
from featuremanagement-dotnet.
Related Issues (20)
- Record feature flag evaluation metrics HOT 4
- FeatureGate filter question HOT 3
- Should we have a feature flag schema specification? HOT 3
- Is the "xunit.assert" dependency a mistake? HOT 3
- Test suit should also target on .NET8.0
- Caching for a custom FeatureDefinitionProvider HOT 18
- Compatibility/overlap with the OpenFeature Spec/SDK HOT 6
- Feature filter from second configuration source is not respected when the base configuration does not specify a filter HOT 1
- Targeting filter - Feature does not display even if setting the value to 100 HOT 19
- Consider adding default for CancellationToken parameters in interfaces / classes in 4.0.0 HOT 10
- Improve non-DI usage of built-in feature filters HOT 8
- Package dependency: Microsoft.FeatureManagement.Telemetry.ApplicationInsights.AspNetCore HOT 1
- Namespace of TelemetryClientExtensions
- Namespace of ApplicationInsightsTelemetryPublisher HOT 4
- The StatusOverride doesn't work HOT 8
- ISessionManager is not mentioned in README
- Suggest to have app.UseFeatureManagement HOT 8
- Silent failure in TargetingTelemetryInitializer HOT 10
- The TargetingId should be included in the FeatureEvaluation event even if it's null/empty. HOT 5
- Targeting evaluation is CPU dependent. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from featuremanagement-dotnet.