WebApiRestService.WebApiClient
1.1.0
dotnet add package WebApiRestService.WebApiClient --version 1.1.0
NuGet\Install-Package WebApiRestService.WebApiClient -Version 1.1.0
<PackageReference Include="WebApiRestService.WebApiClient" Version="1.1.0" />
paket add WebApiRestService.WebApiClient --version 1.1.0
#r "nuget: WebApiRestService.WebApiClient, 1.1.0"
// Install WebApiRestService.WebApiClient as a Cake Addin #addin nuget:?package=WebApiRestService.WebApiClient&version=1.1.0 // Install WebApiRestService.WebApiClient as a Cake Tool #tool nuget:?package=WebApiRestService.WebApiClient&version=1.1.0
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.
Supported Platforms:
- .NET Framework 4.5
- Windows 8 Apps
- Windows Phone Silverlight 8
- Windows Phone 8.1
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.AspNet.WebApi.Client (>= 5.2.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
Compatibility:
- Now it is compatible with Windows Phone 8.1 apps
Breaking changes:
- The GetManyAsync now returns an ICollection<T> instead of a List<T>
Fixes:
- All internal async calls are calling ConfigureAwait(false)