WebApi HttpClient for .NET framework 3.5 [closed]

怎甘沉沦 提交于 2019-12-19 06:00:16

问题


Is there any package available of WebApi for .Net framework 3.5? I'm specifically looking forward to use HttpClient component of WebApi.

Is there any alternatives that work on .Net 3.5?


回答1:


A very mature and very robust library that you can use for HTTP Requests is RestSharp. It has support for OAuth, pluggable serialization, and other HTTP concerns. It supports NET 3.5+, Silverlight 4, Windows Phone 7, Mono, MonoTouch.

It's open source and available via github. Here is a blog post about consuming WebAPI services with RestSharp. Check it out




回答2:


You can use http://www.servicestack.net/ client for this. And it works ok with Nuget=)



来源:https://stackoverflow.com/questions/8257652/webapi-httpclient-for-net-framework-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!