API

AddStandardResilienceHandler

Attaches the standard HTTP resilience pipeline; review settings for the operation.

Formal Syntax & Structure

csharp syntaxcsharp
services.AddHttpClient("inventory").AddStandardResilienceHandler();

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.services.AddHttpClient("inventory").AddStandardResilienceHandler();
C# & .NET Reference