I just released a REST client here today. You can download the Git repo to see the samples.
https://bitbucket.org/MelbourneDeveloper/restclient-.net
- Open Source. (MIT License)
- Markup language agnostic. (Supports JSON, SOAP and other markup languages)
- Use strong types with REST.
- Supports Android, iOS, Windows 10, Windows 10 Phone, Silverlight, .NET, .NET Core.
- Incredibly simple.
- Async friendly (uses async, await keywords).
When is WCF(using the WebChannelFactory) more preferable to
HttpClient?
That is a very loaded question. WCF is a very large collection of technologies that allow you to communicate with a number of different protocols, authentication methods, and so on. It is very configurable, but REST is simple and supported by nearly all technologies available. If you write a REST service, chances are that nearly any app could consume it. Really, the question is about who your target audience is.