WebApiClient - A Simple and Powerful RESTful Client Api

What is WebApiClient?

WebApiClient is a simple and powerful .NET Portable Library built to work as a middle layer between your application and a RESTFul service, like the Microsoft WebApi. It provides methods to make asynchronous, typed WebApi requests using the HttpClient class. It takes care of all the logic to create the request, wait for the response, handle exceptions and convert the response into an object, leaving you free of writing repetitive code.

Features

  • It is portable. Supports .NET Framework 4.5+, Windows 8+ Apps, Windows Phone Silverlight 8+, Windows Phone 8.1
  • Supports any kind of RESTful service, not only Microsoft WebApi
  • Ready to work with services that use ASP.NET Identity security
  • Easy installation using NugGet
  • Supports Json and Xml serialization/deserialization
  • Supports the verbs GET, POST, PUT and DELETE
  • Easy to extend functionalities
  • Comes with WindowsIntegratedAuthentication (Negotiate, NTLM, Basic, Kerberos) and BearerTokenAuthentication
  • Easy to send or receive cookies

Getting started
Check out the Getting Started guide to quickly learn the fundamentals
Getting help
Visit the online documentation page to check out the online documentation
Next features

List of features for the next release:

  • GrantTypes for Bearer Tokens
  • Download/Upload files
  • OWIN Cookie Authentication
Install it

If you don't have NuGet yet, install it. Then, install the WebApiClient from the package manager console:

PM> Install-Package WebApiRestService.WebApiClient
Or visit the NuGet site project page