What's the most portable way to make a Silverlight & Regular .NET REST client

前端 未结 5 818
臣服心动
臣服心动 2021-02-10 04:42

I\'m trying to get a Server application to expose some status information using WCF. In particular I\'m after using WCF services with RESTful \"API\". I\'m hitting somewhat of a

5条回答
  •  太阳男子
    2021-02-10 05:13

    So far I have found a few alternatives to WebChannelFactory for consuming REST services in Silverlight. They have all seen praise in forums and blogs, but I have yet to try any of them myself. I believe all three use generics to easily deserialize request responses into CLR objects.

    • RestSharp
    • REST Client for Silverlight, ported from WCF REST Starter Kit
    • Hammock

    I am leaning towards RestSharp, because its examples look both simple and extensible to me.

提交回复
热议问题