标签: c# .net web-services asp.net-web-api
我创建了一个Window应用程序,它使用了使用WebApi创建的Rest Webservice。 My Window应用程序位于.net 2.0中。所以我不能使用WebApi客户端库来使用Rest Webservice。是否可以在.net 2.0中使用WebApi客户端库?如果不是,我怎么能在.net 2.0中调用RestWebservice?
答案 0 :(得分:0)
您可能必须使用Newtonsoft
http://blogs.msdn.com/b/henrikn/archive/2012/02/18/using-json-net-with-asp-net-web-api.aspx
并检查一下
http://james.newtonking.com/archive/2009/08/02/net-2-0-support-added-to-json-net