0
comment
comment
on 7/16/2018 3:58 PM
HttpClientFactory in ASP NET Core 2.1
ASP.NET Core 2.1 ships with a factory for HttpClient called HttpclientFactory. This factory allows us to no longer care about the lifecycle of the HttpClient by leaving it to the framework. Today we will see few ways of instantiating clients:
Default client
Typed client
Named client
1. Default client
To use the factory, we start first by registering it to