Ecng.Net.Clients 1.0.271

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ecng.Net.Clients --version 1.0.271
                    
NuGet\Install-Package Ecng.Net.Clients -Version 1.0.271
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ecng.Net.Clients" Version="1.0.271" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ecng.Net.Clients" Version="1.0.271" />
                    
Directory.Packages.props
<PackageReference Include="Ecng.Net.Clients" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ecng.Net.Clients --version 1.0.271
                    
#r "nuget: Ecng.Net.Clients, 1.0.271"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ecng.Net.Clients@1.0.271
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ecng.Net.Clients&version=1.0.271
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Net.Clients&version=1.0.271
                    
Install as a Cake Tool

Ecng.Net.Clients

Utility base classes for building REST API clients.

Purpose

Wraps HttpClient with serialization and error handling so API classes stay concise.

Key Features

  • Simplifies HttpClient usage
  • Retry policies with backoff
  • Automatic serialization
  • Request logging

Standard .NET

using var client = new HttpClient { BaseAddress = new Uri("https://api/") };
client.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var resp = await client.GetAsync("item");
resp.EnsureSuccessStatusCode();
var dto = JsonSerializer.Deserialize<MyDto>(
    await resp.Content.ReadAsStringAsync());

Using Ecng

class MyClient(string token) : RestBaseApiClient(new HttpClient(),
    new JsonMediaTypeFormatter(), new JsonMediaTypeFormatter())
{
    public MyClient() { AddAuthBearer(token); BaseAddress = new("https://api/"); }

    public Task<MyDto> Get() => GetAsync<MyDto>("item");
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Ecng.Net.Clients:

Package Downloads
StockSharp.Mfd

MFD

StockSharp.Web.Api.Interfaces

StockSharp WebApi

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.341 35 4/14/2026
1.0.340 91 4/4/2026
1.0.339 92 3/29/2026
1.0.338 134 3/28/2026
1.0.337 155 3/28/2026
1.0.336 99 3/27/2026
1.0.335 116 3/17/2026
1.0.334 106 3/17/2026
1.0.333 96 3/15/2026
1.0.332 92 3/15/2026
1.0.331 102 3/10/2026
1.0.330 557 3/3/2026
1.0.329 97 2/28/2026
1.0.328 99 2/25/2026
1.0.327 100 2/21/2026
1.0.326 474 2/10/2026
1.0.325 108 2/10/2026
1.0.324 104 2/10/2026
1.0.323 105 2/9/2026
1.0.271 191 12/14/2025
Loading failed