Couple a days ago I was looking for some information about image uploading from external URL in an ASP.NET Core application. I‘ve found a great post written by Igor Sikorsky (see Sources ) and another one, which was written by Andrew Lock (see Sources ) who used the same approach.
But in Igor’s post discussion, someone noticed improper using of HttpClient to retrieve the image from external URL. Few seconds googling helped to find another interesting post by Simon Timms  which shows how to use HttpClient correctly. He suggests declaring a static instance of HttpClient in the .NET Core application main class.
It is cool, but what if I do not want to use HttpClient as a property of the main app class. What if I want to get it from DI service?
If you are interested in this approach too, welcome to read more…