[C#/ASP.NET MVC/.NETCORE] IHttpClientFactory 인터페이스 : CreateClient 메소드를 사용해 명명된 HttpClient 객체 생성하기


■ IHttpClientFactory 인터페이스의 CreateClient 메소드를 사용해 명명된 HttpClient 객체를 생성하는 방법을 보여준다.

Startup.cs

Controllers/HomeController.cs