适用于.NET Framework 3.5的WebApi HttpClient [英] WebApi HttpClient for .NET framework 3.5
问题描述
是否有适用于.Net framework 3.5的WebApi软件包?我特别期待使用WebApi的HttpClient组件.
Is there any package available of WebApi for .Net framework 3.5? I'm specifically looking forward to use HttpClient component of WebApi.
在.Net 3.5上是否可以使用其他替代方法?
Is there any alternatives that work on .Net 3.5?
推荐答案
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.
它是开源的,可以通过github获得.这是关于的博客文章使用RestSharp使用WebAPI服务.看看
It's open source and available via github. Here is a blog post about consuming WebAPI services with RestSharp. Check it out
这篇关于适用于.NET Framework 3.5的WebApi HttpClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!