Question: how to add reference to system.net.http?
Answer: Right click on the References folder on your project. Select Add Reference. Select the . NET tab (or select the Browse button if it is not a . NET Framework assembly). Double-click the assembly containing the namespace in the error message ( System. Web. Http. dll ). Press the OK button.