Tools
- Visual Studio 2017 Professional (15.8.7)
- dotnetcore SDK 2.1.403
Scenario
I'm attempting to create a console app using the dotnet core framework. The console app needs to make API requests.
I've read about the new IHttpClientFactory released as part of dotnet core 2.1.
The official documenation suggests that all I need to add to my project is a reference to the Microsoft.Extensions.Http NuGet package. I've done this.
Problem
I've added the IHttpClientFactory to a class, but visual studio only picks up the System.Net.Http namespace as a suggested reference:
Question
What did I do wrong :S
