Skip to content
H

httpclient-factory

IHttpClientFactory and typed HTTP clients for .NET 10 applications

by codewithmukeshFree

#8568in AI Skills
0In stores

Description

HttpClient Factory is an agent skill that guides how a .NET 10 application creates and uses HTTP clients. It covers IHttpClientFactory, name…

Highlights

  • Named, typed and keyed HTTP clients
  • Standard resilience handler with retry, circuit breaker and timeout
  • DelegatingHandlers for auth, correlation IDs and logging
  • Guidance against a new HttpClient per request
  • Written for .NET 10 applications

Ratings & Reviews

No ratings yet

Be the first to rate httpclient-factory.

People also visit

D

dotnet-10-csharp-14

Building .NET 10 or C# 14 applications

AI Skills
Get
M

minimal-api

.NET 10 minimal APIs — the default for building HTTP endpoints

AI Skills
Get
R

resilience

Resilience patterns for .NET 10 applications using Polly v8

AI Skills
Get
D

dependency-injection

Dependency injection patterns for .NET 10

AI Skills
Get
C

configuration

Configuration patterns for .NET 10 applications

AI Skills
Get
E

error-handling

Error handling strategy for .NET 10 applications

AI Skills
Get

httpclient-factory FAQ

What does the httpclient-factory skill cover?

IHttpClientFactory and how to use named, typed and keyed clients, DelegatingHandlers for cross-cutting work, and resilience for external calls.

Why does it advise against new HttpClient() per request?

Creating a client for every request can exhaust sockets under load, and it ignores DNS changes. A factory manages handler lifetimes instead.

How do I install it?

Run npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill httpclient-factory in your project.

Which .NET version is it for?

The skill targets .NET 10 applications.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best httpclient-factory alternatives?

Popular alternatives to httpclient-factory include dotnet-10-csharp-14, minimal-api and resilience. See all httpclient-factory alternatives

Developer Stuff

Badges