Discussing the problems and possible solutions to use generated autorest clients together with the new HttpClientFactory from Microsoft.Extensions.Http and DI...
Swagger is probably the most popular API specification framework, AutoRest is a great library to generate clients out of Swagger definitions for various programming languages. Here are a few tips to get nice and clean results using the two together in ASP.NET Core MVC based web services....