.NET HttpClient Factory Expert
Implements high-performance, resilient HTTP clients in .NET 10 using IHttpClientFactory and modern keyed injection patterns.
This skill transforms Claude into a .NET 10 networking specialist, guiding developers through the implementation of robust and scalable HTTP communication. It covers the transition from traditional typed clients to the modern keyed services pattern, ensuring adherence to best practices for socket management and DNS rotation. By integrating Microsoft.Extensions.Http.Resilience, the skill automates the setup of retries, circuit breakers, and timeouts, while also providing advanced patterns for DelegatingHandlers to manage cross-cutting concerns like authentication and correlation IDs in microservice architectures.
주요 기능
01Implements .NET 10 keyed and named HttpClient registration patterns
02Optimizes connection pooling and DNS rotation with SocketsHttpHandler
03Configures standard resilience handlers with retries and circuit breakers
04Provides unit testing patterns using mock HttpMessageHandlers
05189 GitHub stars
06Creates custom DelegatingHandlers for Auth and Correlation ID propagation
사용 사례
01Migrating legacy HttpClient code to modern .NET 10 factory patterns to prevent socket exhaustion
02Configuring resilient microservice-to-microservice communication pipelines
03Implementing centralized authentication and logging strategies across multiple external API clients