viii
Contents
Issues with the original HttpClient class available in .NET ............................................................................. 299
Benefits of using IHttpClientFactory ....................................................................................................................... 300
Multiple ways to use IHttpClientFactory ............................................................................................................... 301
How to use Typed Clients with IHttpClientFactory ........................................................................................... 301
Additional resources ..................................................................................................................................................... 305
Implement HTTP call retries with exponential backoff with IHttpClientFactory and Polly policies ... 305
Add a jitter strategy to the retry policy ................................................................................................................. 306
Additional resources ..................................................................................................................................................... 307
Implement the Circuit Breaker pattern ....................................................................................................................... 307
Implement Circuit Breaker pattern with IHttpClientFactory and Polly ..................................................... 308
Test Http retries and circuit breakers in eShopOnContainers ...................................................................... 309
Additional resources ..................................................................................................................................................... 311
Health monitoring .............................................................................................................................................................. 311
Implement health checks in ASP.NET Core services ........................................................................................ 312
Use watchdogs ................................................................................................................................................................ 316
Health checks when using orchestrators .............................................................................................................. 318
Advanced monitoring: visualization, analysis, and alerts ............................................................................... 318
Additional resources ..................................................................................................................................................... 319
Dostları ilə paylaş: