.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET Core 2.1-preview1: Introducing HTTPClient factory

HttpClient factory is an opinionated factory for creating HttpClient instances to be used in your applications. It is designed to: 1. Provide a central location for naming and configuring logical HttpClients. For example, you may configure a client that is pre-configured to access the github API. 2. Codify the concept of outgoing middleware...