Ecng.Net.Clients 1.0.221

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.221
                    
NuGet\Install-Package Ecng.Net.Clients -Version 1.0.221
                    
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.221" />
                    
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.221" />
                    
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.221
                    
#r "nuget: Ecng.Net.Clients, 1.0.221"
                    
#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.221
                    
#: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.221
                    
Install as a Cake Addin
#tool nuget:?package=Ecng.Net.Clients&version=1.0.221
                    
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 was computed.  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.225 83 9/5/2025
1.0.224 130 9/2/2025
1.0.223 474 8/30/2025
1.0.222 204 8/30/2025
1.0.221 192 8/20/2025
1.0.220 125 8/20/2025
1.0.219 131 8/19/2025
1.0.218 102 8/15/2025
1.0.217 134 8/10/2025
1.0.216 328 7/16/2025
1.0.215 148 7/14/2025
1.0.214 146 7/13/2025
1.0.213 147 7/13/2025
1.0.212 111 7/12/2025
1.0.211 202 7/8/2025
1.0.210 122 7/4/2025
1.0.209 146 7/2/2025
1.0.208 162 6/24/2025
1.0.207 1,573 6/16/2025
1.0.206 282 6/9/2025
1.0.205 209 6/8/2025
1.0.204 251 5/21/2025
1.0.203 159 5/21/2025
1.0.202 135 5/17/2025
1.0.201 363 5/12/2025
1.0.200 238 5/12/2025
1.0.199 202 5/12/2025
1.0.198 146 5/11/2025
1.0.197 148 5/11/2025
1.0.196 85 5/10/2025
1.0.195 88 5/10/2025
1.0.194 174 5/6/2025
1.0.193 99 5/3/2025
1.0.192 209 4/17/2025
1.0.191 206 4/15/2025
1.0.190 117 4/12/2025
1.0.189 185 4/9/2025
1.0.188 1,563 4/6/2025
1.0.187 116 4/5/2025
1.0.186 224 3/22/2025
1.0.185 184 3/20/2025
1.0.184 172 3/20/2025
1.0.183 171 3/19/2025
1.0.182 445 2/26/2025
1.0.181 126 2/26/2025
1.0.180 364 2/8/2025
1.0.179 135 2/8/2025
1.0.178 132 2/8/2025
1.0.177 134 2/6/2025
1.0.176 120 2/6/2025
1.0.175 125 2/6/2025
1.0.174 137 2/6/2025
1.0.173 132 2/6/2025
1.0.172 1,527 2/5/2025
1.0.171 140 2/5/2025
1.0.170 143 2/5/2025
1.0.169 325 2/3/2025
1.0.168 133 2/2/2025
1.0.167 146 2/1/2025
1.0.166 135 1/31/2025
1.0.165 136 1/30/2025
1.0.164 131 1/26/2025
1.0.163 140 1/21/2025
1.0.162 124 1/20/2025
1.0.161 118 1/20/2025
1.0.160 119 1/19/2025
1.0.159 119 1/19/2025
1.0.158 289 1/15/2025
1.0.157 202 1/15/2025
1.0.156 202 1/15/2025
1.0.155 118 1/14/2025
1.0.154 120 1/12/2025
1.0.153 113 1/12/2025
1.0.152 139 1/12/2025
1.0.151 119 1/12/2025
1.0.150 127 1/10/2025
1.0.149 543 12/30/2024
1.0.148 132 12/27/2024
1.0.147 141 12/19/2024
1.0.146 147 11/20/2024
1.0.145 140 11/19/2024
1.0.144 137 11/19/2024
1.0.143 1,572 11/18/2024
1.0.142 142 11/18/2024
1.0.141 210 11/7/2024
1.0.140 135 10/31/2024
1.0.139 168 10/19/2024
1.0.138 180 10/19/2024
1.0.137 173 10/19/2024
1.0.136 937 10/13/2024
1.0.135 152 10/12/2024
1.0.134 221 10/9/2024
1.0.133 145 10/9/2024
1.0.132 183 10/5/2024
1.0.131 1,030 9/18/2024
1.0.130 148 9/18/2024
1.0.129 252 9/18/2024
1.0.128 146 9/17/2024
1.0.127 163 9/17/2024
1.0.126 307 9/3/2024
1.0.125 142 9/1/2024
1.0.124 460 8/8/2024
1.0.123 1,559 7/25/2024
1.0.122 134 7/23/2024
1.0.121 357 7/23/2024
1.0.120 230 7/23/2024
1.0.119 593 7/4/2024
1.0.118 990 6/12/2024
1.0.117 305 6/12/2024
1.0.116 138 6/12/2024
1.0.115 449 5/28/2024
1.0.114 372 5/4/2024
1.0.113 253 4/23/2024
1.0.112 1,550 4/21/2024
1.0.111 267 4/14/2024
1.0.110 586 4/5/2024
1.0.109 497 3/28/2024
1.0.108 172 3/17/2024
1.0.107 730 3/9/2024
1.0.106 287 2/23/2024
1.0.105 165 2/23/2024
1.0.104 570 2/18/2024
1.0.103 148 2/18/2024
1.0.102 152 2/16/2024
1.0.101 237 2/13/2024
1.0.100 222 2/8/2024
1.0.99 214 2/5/2024
1.0.98 155 2/4/2024
1.0.97 239 1/23/2024
1.0.96 147 1/23/2024
1.0.95 1,241 1/12/2024
1.0.94 1,353 1/2/2024
1.0.93 293 12/29/2023
1.0.92 423 12/17/2023
1.0.91 397 12/15/2023
1.0.90 165 12/15/2023
1.0.89 166 12/15/2023
1.0.88 738 12/13/2023
1.0.87 182 12/13/2023
1.0.86 188 12/10/2023
1.0.85 1,505 11/18/2023
1.0.84 152 11/18/2023
1.0.83 157 11/18/2023
1.0.82 142 11/17/2023
1.0.81 159 11/12/2023
1.0.80 141 11/12/2023
1.0.79 151 11/10/2023
1.0.78 144 11/10/2023
1.0.77 281 11/9/2023
1.0.76 149 11/9/2023
1.0.75 148 11/9/2023
1.0.74 424 11/3/2023
1.0.73 153 11/1/2023
1.0.72 164 11/1/2023
1.0.71 1,987 9/8/2023
1.0.70 335 9/8/2023
1.0.69 301 9/3/2023
1.0.68 202 8/27/2023
1.0.67 183 8/24/2023
1.0.66 222 8/21/2023
1.0.65 528 8/15/2023
1.0.64 207 8/14/2023
1.0.63 197 8/14/2023
1.0.62 619 8/10/2023
1.0.61 1,054 7/29/2023
1.0.60 1,262 7/1/2023
1.0.59 246 6/29/2023
1.0.58 1,628 6/4/2023
1.0.57 761 5/27/2023
1.0.56 455 5/21/2023
1.0.55 586 5/19/2023
1.0.54 2,120 5/8/2023
1.0.53 247 5/7/2023
1.0.52 261 5/6/2023
1.0.51 732 5/5/2023
1.0.50 227 5/5/2023
1.0.49 1,249 5/1/2023
1.0.48 1,491 4/22/2023
1.0.47 249 4/21/2023
1.0.46 253 4/21/2023
1.0.45 1,448 4/13/2023
1.0.44 658 4/3/2023
1.0.43 1,836 3/27/2023
1.0.42 1,319 3/21/2023
1.0.41 701 3/18/2023
1.0.40 321 3/18/2023
1.0.39 331 3/17/2023
1.0.38 693 3/13/2023
1.0.37 864 3/6/2023
1.0.36 1,271 2/26/2023
1.0.35 1,267 2/21/2023
1.0.34 347 2/20/2023
1.0.33 1,195 2/16/2023
1.0.32 367 2/15/2023
1.0.31 326 2/14/2023
1.0.30 328 2/14/2023
1.0.29 819 2/9/2023
1.0.28 1,874 2/7/2023
1.0.27 377 2/4/2023
1.0.26 370 2/4/2023
1.0.25 398 2/3/2023
1.0.24 359 2/3/2023
1.0.23 362 2/2/2023
1.0.22 379 1/30/2023
1.0.21 1,672 1/30/2023
1.0.20 2,265 1/25/2023
1.0.19 374 1/23/2023
1.0.18 394 1/23/2023
1.0.17 399 1/18/2023
1.0.16 395 1/15/2023
1.0.15 391 1/6/2023
1.0.14 407 1/1/2023
1.0.13 382 12/31/2022
1.0.12 384 12/30/2022
1.0.11 380 12/29/2022
1.0.10 381 12/23/2022
1.0.9 390 12/12/2022
1.0.8 393 12/8/2022
1.0.7 411 12/4/2022
1.0.6 416 12/4/2022
1.0.5 388 12/2/2022
1.0.4 410 11/30/2022
1.0.3 400 11/29/2022
1.0.2 415 11/28/2022
1.0.1 424 11/26/2022
1.0.0 419 11/26/2022