---
title: "Discussion on \".NetCore 实践——HttpClientFactory[一]\" | Hashnode"
description: "Discussion on \".NetCore 实践——HttpClientFactory[一]\". HttpClientFactory介绍\nHttpClientFactory 主要有下面的功能：\n\n管理内部HttpMessageHandler 的生命周期，灵活应对资源问题和DNS刷新问题\n\n支持命名话、类型化配置，集中管理配置，避免冲突。\n\n灵活的出站请求管道配置，轻松管理请求生命周期\n\n内置管道最外层和最内层日志记录器，有information 和 Trace 输出\n\n\n核心对象：\n\nHttpClient\n\nHttpMessageHandler\n\nSocketsHttpHandler\n\nDe..."
url: "https://hashnode.com/posts/netcore-httpclientfactory/65954f8763da0a136136a021"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [.NetCore 实践——HttpClientFactory\[一\]](https://docs.inorah.xyz/netcore-httpclientfactory?utm_source=hashnode&utm_medium=feed)

HttpClientFactory介绍 HttpClientFactory 主要有下面的功能： 管理内部HttpMessageHandler 的生命周期，灵活应对资源问题和DNS刷新问题 支持命名话、类型化配置，集中管理配置，避免冲突。 灵活的出站请求管道配置，轻松管理请求生命周期 内置管道最外层和最内层日志记录器，有information 和 Trace 输出 核心对象： HttpClient HttpMessageHandler SocketsHttpHandler De...

Jan 3, 2024 · 5 min read · docs.inorah.xyz  
Read the article

-   [#httpclientfactory](https://hashnode.com/tag/httpclientfactory)
-   [#net-core](https://hashnode.com/tag/net-core)
-   [#httpclient](https://hashnode.com/tag/httpclient)
-   [#netcore](https://hashnode.com/tag/netcore)

## Written by

[shiney](https://hashnode.com/@eddychu)

@eddychu

  
[View profile](https://hashnode.com/@eddychu)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
