I facing a big problem when using HttpClientFactory in ActionFilterAttribute. From Microsoft docuemnt HttpClientFactory I need to register it in Startup.ConfigureServices method. When I use the HttpClientFactory that I just need to declare it in Controller
public TestController(IHttpClientFactory httpClient)
That fine, it is OK for me. But if I need to use it in ActionFilterAttribute. How can I do?