10 posts about IHttpClientFactory by 10 contributors.
Know IHttpClientFactory? Share what you know with developers who are learning it.
Learn how to mock external HTTP APIs in .NET integration tests with a custom HttpMessageHandler, HttpClient, and xUnit to test successful and error responses reliably.
Learn how to mock external HTTP APIs in ASP.NET Core integration tests by replacing HttpMessageHandler for typed HttpClient instances in WebApplicationFactory.
Configure resilient outbound HTTP requests in ASP.NET Core with IHttpClientFactory, retries, timeouts, exponential backoff, jitter, and safe handling of transient failures.
Learn practical .NET performance techniques for reducing allocations, optimizing lookups, caching safely, configuring resilient HTTP clients, and measuring results with BenchmarkDotNet.
Learn how to use IHttpClientFactory in .NET Core to prevent socket exhaustion and improve performance. Discover named & typed clients, resilience with Polly, and best practices.
IHttpClientFactory in .NET Core simplifies HTTP client creation, improves performance, and promotes the reuse of HttpClient instances. It offers built-in features like dependency injection, named and typed clients, and support for resilience with Polly, making it ideal for handling HTTP requests efficiently.
Learn how to effectively use HttpClient and IHttpClientFactory in .NET Core applications. Avoid common pitfalls of creating new HttpClient instances per request, leading to socket exhaustion. Discover how IHttpClientFactory manages HttpMessageHandler lifetimes, ensuring efficient API calls and resource management.
In the realm of .NET Core development, managing HTTP requests efficiently is crucial for building robust and high-performance applications. In this article, we delve into the differences between HttpClient and IHttpClientFactory, examining their strengths, weaknesses, and best practices.
Learn how to use IHttpClientFactory in .NET Core to manage HttpClient instances, configure named and typed clients, and reuse HTTP message handlers.
In this article, you will learn about HTTP requests using IHttpClientFactory.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only17days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article