TL; DR: I\'m new to this language and have no idea what I\'m doing
here is my class so far:
using System;
using System.Collections.Generic;
using Sys
With the Nuget Package Manager install Microsoft.AspNet.WebApi.Core.
After this:
using System.Web.Http;
or if you use VB
imports System.Web.Http
HttpClient is new in .net 4.5. You should probably be using HttpWebRequest.
NuGet > Microsoft.AspNet.WebApi.Client package
just go to add reference then add
system.net.http
For me, it was getting the nuget package Microsoft.Net.Http .(https://blogs.msdn.microsoft.com/bclteam/p/httpclient/)
Make sure it's referenced in your web.config: