Making calls to an ASP.NET 5 Web API from a C# class library -


i have web api created asp.net 5. have repository class library (package) needs make calls web api using kind of http client.

what correct package reference if want keep within asp.net 5? tried referencing: "microsoft.aspnet.webapi.client": "5.2.3" doesn't work platform 5.4

https://stackoverflow.com/a/32211585/1365053

you should use modern httpclient class system.net.http on nuget, supports dnxcore.

https://www.nuget.org/packages/system.net.http/


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -