HLI.Data
1.0.4.2
See the version list below for details.
dotnet add package HLI.Data --version 1.0.4.2
NuGet\Install-Package HLI.Data -Version 1.0.4.2
<PackageReference Include="HLI.Data" Version="1.0.4.2" />
paket add HLI.Data --version 1.0.4.2
#r "nuget: HLI.Data, 1.0.4.2"
// Install HLI.Data as a Cake Addin #addin nuget:?package=HLI.Data&version=1.0.4.2 // Install HLI.Data as a Cake Tool #tool nuget:?package=HLI.Data&version=1.0.4.2
Create instance of HliHttpClient and make typed calls:
var client = new HliHttpClient("http://httpbin.org/", "ip");
var result = await client.GetDataAsTypeAsync<IpResponse>();
There is also an IRepository interface and subinterfaces for your repositories.
Learn more about Target Frameworks and .NET Standard.
-
- HLI.Core (>= 1.0.3)
- Microsoft.Net.Http (>= 2.2.29)
- Newtonsoft.Json (>= 9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Newtonsoft.Json is now set to Copy local = False to prevent conflicts.
Ensure the above package is installed and referenced in the platform project.
- Constructors for HliHttpClient are now completely revised to prevent ambigus constructor issues. Usage might need to be updated.
- Added support for different type request / response in PostDataAsTypeAsync