skip to Main Content

Asp.net – Polly Retry with HTTP Client is exceeding the Number of Max Retries and continues Retry till HTTP Timeout Occurred

I have defined some Typed API Client via Dependency Injection in Start up like below. public void ConfigureHttpClients(IServiceCollection services) { services.AddHttpClient<IMyHttpClient,MyHttpClient>() .AddPolicyHandler(GetRetryPolicy(Configuration)); } And Get Retry Policy is defined like this : private static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy(IConfiguration configuration) { int numberOfretries…

VIEW QUESTION

Azure Service Principal RemoveKey c#

I'm trying to remove a certificate to a service account. I'm doing this with Microsoft.Graph (5.14.0) with a Service Principal account which is global administrator and has the necessary permissions with Graph. This master account authenticates via a certificate. I…

VIEW QUESTION
Back To Top
Search