[Sample App] Add Microsoft.Extensions.Http.Resilience #1643
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
This PR replaces
Microsoft.Extensions.Http.Polly
withMicrosoft.Extensions.Http.Resilience
.In .NET 8, Microsoft teamed up with the
App-vNext.Polly
team to create a more-performant version ofPolly
. The newMicrosoft.Extensions.Http.Resilience
library uses the new, more performant version ofPolly
.Meanwhile
[Microsoft.Extensions.Http.Polly](https://www.nuget.org/packages/Microsoft.Extensions.Http.Polly)
uses the older, less performant, version ofPolly
now rebranded asPolly.Core.
To ensure our Sample App adheres to best practices recommended for all .NET MAUI developers, we are upgrading
Microsoft.Extensions.Http.Polly
withMicrosoft.Extensions.Http.Resilience
.PR Checklist
main
at time of PRAdditional information
More information is available in this .NET Blog Post:
https://devblogs.microsoft.com/dotnet/building-resilient-cloud-services-with-dotnet-8/