适用于.NET Framework 3.5的WebApi HttpClient [英] WebApi HttpClient for .NET framework 3.5

查看:835
本文介绍了适用于.NET Framework 3.5的WebApi HttpClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有适用于.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?

推荐答案

可以用于HTTP请求的非常成熟且非常健壮的库是

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆