![]() |
VOOZH | about |
dotnet add package Microsoft.Extensions.Resilience --version 10.7.0
NuGet\Install-Package Microsoft.Extensions.Resilience -Version 10.7.0
<PackageReference Include="Microsoft.Extensions.Resilience" Version="10.7.0" />
<PackageVersion Include="Microsoft.Extensions.Resilience" Version="10.7.0" />Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Resilience" />Project file
paket add Microsoft.Extensions.Resilience --version 10.7.0
#r "nuget: Microsoft.Extensions.Resilience, 10.7.0"
#:package Microsoft.Extensions.Resilience@10.7.0
#addin nuget:?package=Microsoft.Extensions.Resilience&version=10.7.0Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Resilience&version=10.7.0Install as a Cake Tool
Extensions to the Polly libraries to enrich telemetry with metadata and exception summaries.
From the command-line:
dotnet add package Microsoft.Extensions.Resilience
Or directly in the C# project file:
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Resilience" Version="[CURRENTVERSION]" />
</ItemGroup>
The services can be registered using the following method:
public static IServiceCollection AddResilienceEnricher(this IServiceCollection services)
This will optionally consume the IExceptionSummarizer service if it has been registered and add that data to Polly's telemetry. It will also include RequestMetadata that can be set or retrieved with these extensions:
public static void SetRequestMetadata(this ResilienceContext context, RequestMetadata requestMetadata)
public static RequestMetadata? GetRequestMetadata(this ResilienceContext context)
See the Polly docs for details about working with ResilienceContext.
We welcome feedback and contributions in our GitHub repo.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Resilience:
| Package | Downloads |
|---|---|
|
Microsoft.Extensions.Http.Resilience
Resilience mechanisms for HttpClient. |
|
|
Elsa.Http
Provides HTTP activities to listen for and send out HTTP requests. |
|
|
Flynk.Net.Services
Package Description |
|
|
ErikLieben.FA.ES
Core event sourcing framework for .NET with AOT-compatible aggregates, projections, and event stream abstractions. |
|
|
Shiny.Mediator.Resilience
Shiny Mediator - A mediator pattern for all .NET Apps |
Showing the top 6 popular GitHub repositories that depend on Microsoft.Extensions.Resilience:
| Repository | Stars |
|---|---|
|
elsa-workflows/elsa-core
The Workflow Engine for .NET
|
|
|
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
|
mehdihadeli/vertical-slice-api-template
🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
|
|
|
sbroenne/mcp-server-excel
Excel MCP Server & CLI - 23 tools, 214 operations for AI-powered Excel automation via COM API
|
|
| bradygaster/dotnet-cloud-native-build-2023 | |
|
sitkoru/Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
|
| Version | Downloads | Last Updated |
|---|---|---|
| 10.7.0 | 329,747 | 6/9/2026 |
| 10.6.0 | 2,275,177 | 5/12/2026 |
| 10.5.0 | 3,779,830 | 4/15/2026 |
| 10.4.0 | 3,657,627 | 3/10/2026 |
| 10.3.0 | 3,921,485 | 2/10/2026 |
| 10.2.0 | 3,972,108 | 1/13/2026 |
| 10.1.0 | 4,573,151 | 12/9/2025 |
| 10.0.0 | 7,033,852 | 11/11/2025 |
| 9.10.0 | 5,075,363 | 10/14/2025 |
| 9.9.0 | 4,797,349 | 9/9/2025 |
| 9.8.0 | 2,365,044 | 8/12/2025 |
| 9.7.0 | 3,779,337 | 7/8/2025 |
| 9.6.0 | 3,245,822 | 6/10/2025 |
| 9.5.0 | 2,634,806 | 5/13/2025 |
| 9.4.0 | 3,756,409 | 4/8/2025 |
| 9.3.0 | 2,075,448 | 3/11/2025 |
| 9.2.0 | 3,713,059 | 2/11/2025 |
| 9.1.0 | 2,290,114 | 1/14/2025 |
| 9.0.0 | 6,911,391 | 11/12/2024 |
| 8.10.0 | 13,589,414 | 10/8/2024 |