App-vNext / Polly.Extensions.Http

Polly.Extensions.Http is an extensions package containing opinionated convenience methods for configuring Polly policies to handle transient faults typical of calls through HttpClient.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft.Extensions.Http.Polly?

StephenCleary opened this issue · comments

Has Polly.Extensions.Http been replaced by Microsoft.Extensions.Http.Polly?

If so, please:

  • Document this clearly at the top of the README in this repo.
  • Release an update for Polly.Extensions.Http that either has Microsoft.Extensions.Http.Polly as a dependency or has its description updated to note the move to Microsoft.Extensions.Http.Polly.

Microsoft.Extensions.Http.Polly actually uses this package: https://github.com/dotnet/extensions/blob/v3.1.9/src/HttpClientFactory/Polly/src/DependencyInjection/PollyHttpClientBuilderExtensions.cs#L229. It's basically another layer of convenience built around this, allowing it to more easily be used with IHttpClientFactory.