There are 1 repository under httpclientfactory topic.
.NET library to instrument your code with Prometheus metrics
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
A sample ASP.NET Core project showing how to configure the HttpClientFactory
.NET C# Client for the Gotenberg API
WebApiClient项目的第三方扩展:Autofac、DependencyInjection、HttpClientFactory、SteeltoeOSS.Discovery、MessagePack、Protobuf、Json-Rpc
Lightweight fluent wrapper over HttpClient to make REST calls easier
Dependency Injection, HttpClientFactory & ASP.NET Core extensions for Auth0.NET
ASP.NET Core middleware to propagate HTTP headers from the incoming request to the outgoing HTTP Client requests. This is a backport to ASP.NET Core 2.1 (and 2.2) of the ASP.NET Core HeaderPropagation middleware I had recently contributed to the ASP.NET Core project.
This project demonstrates how to use the HttpClient class in C# to call Spotify Web API
UnitTestEx provides .NET testing extensions to the most popular testing frameworks (MSTest, NUnit and Xunit) specifically to improve the testing experience with ASP.NET controller, and Azure Function, execution including underlying HttpClientFactory mocking.
Extends the .NET DefaultHttpClientFactory to support contextually appropriate primary handlers (i.e. unique certificates for different endpoints) and per-request cookie scope while retaining the benefits of handler pooling and typed client pipelines
[Archived] Azure Functions and Azure WebJobs binding extensions for HttpClientFactory. This is no longer the best approach: https://www.tpeczek.com/2019/10/alternative-approach-to-httpclient-in.html
OAuth authorized HttpClient, friendly with HttpClientFactory
A lightweight HttpClient factory that handles properly DNS switches and closely integrates Polly policies into the client
DotNetCore Resilience Framework for Kubernetes Cluster
A console app built using .NET Core 5 with support to Microsoft DI best practices to show how to setup: Multiple environments, Configuration values using the Options pattern, Appsettings, Usersecrets, Azure KeyVault, Azure Application Insight, TelemetryClient, HostedService, HttpClientFactory.
Provides classes for creating typed HTTP clients from an interface describing a service.
C# API Request
HttpClientLab turns the HttpClientFactory into a lab, so you can mock the HttpClient to write tests.
Consume APIs of https://www.weatherapi.com/ using DI and Typed Client (HttpClient)
Example of using HttpClientFactory in .NET Core 3.1 with Swagger, MediatR and Serilog
JsHttpClient is a simple and flexible HTML page crawling client library for .Net Core. JsHttpClient 是一个用于在 .Net Core 上简单灵活的 HTML 页面抓取客户端库 🕷️
HttpClientFactory in a console application. Examples of Named clients and Typed clients.
Send emails from asp.net core 2.2 web application using mailgun api. Mailgun api calls are made using HttpClient
weather forecast api
Complete tracing of requests / responses for HttpClient
Adjust http client configuration at runtime - solved.
HttpClient instance, which might have been decorated with some resilient strategy against transient failure and with some default values. You might even receive a client where the BaseUrl is already set. So, this approach can be particularly useful if you need to hide a REST API client behind a strongly-typed service layer.
A Class Library which Contains services for sending Http Requests fast and effortlessly
This is one of the way to fake http response
Graphql http client for .net
Simple console app for working with HttpClientFactory + Refit + Polly