Skip to content

[Sample App] Add Microsoft.Extensions.Http.Resilience#1643

Merged
TheCodeTraveler merged 4 commits intomainfrom
Add-Microsoft.Extensions.Http.Resilience
Jan 14, 2024
Merged

[Sample App] Add Microsoft.Extensions.Http.Resilience#1643
TheCodeTraveler merged 4 commits intomainfrom
Add-Microsoft.Extensions.Http.Resilience

Conversation

@TheCodeTraveler
Copy link
Copy Markdown
Collaborator

Description of Change

This PR replaces Microsoft.Extensions.Http.Polly with Microsoft.Extensions.Http.Resilience.

In .NET 8, Microsoft teamed up with the App-vNext.Polly team to create a more-performant version of Polly. The new Microsoft.Extensions.Http.Resilience library uses the new, more performant version of Polly.

Meanwhile [Microsoft.Extensions.Http.Polly](https://www.nuget.org/packages/Microsoft.Extensions.Http.Polly) uses the older, less performant, version of Polly now rebranded as Polly.Core.

To ensure our Sample App adheres to best practices recommended for all .NET MAUI developers, we are upgrading Microsoft.Extensions.Http.Polly with Microsoft.Extensions.Http.Resilience.

PR Checklist

  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard

Additional information

More information is available in this .NET Blog Post:

https://devblogs.microsoft.com/dotnet/building-resilient-cloud-services-with-dotnet-8/

Resilience packages

Comment thread samples/CommunityToolkit.Maui.Sample/MauiProgram.cs Outdated
Co-authored-by: Pedro Jesus <[email protected]>
@TheCodeTraveler TheCodeTraveler requested review from pictos and removed request for VladislavAntonyuk January 13, 2024 02:13
Comment thread src/CommunityToolkit.Maui.MediaElement/Views/MediaManager.android.cs Outdated
@TheCodeTraveler TheCodeTraveler merged commit 11e7122 into main Jan 14, 2024
@TheCodeTraveler TheCodeTraveler deleted the Add-Microsoft.Extensions.Http.Resilience branch January 14, 2024 02:52
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants