MakoIoT.Device.Utilities.Invoker 1.0.45.30811

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Utilities.Invoker --version 1.0.45.30811
                    
NuGet\Install-Package MakoIoT.Device.Utilities.Invoker -Version 1.0.45.30811
                    
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="MakoIoT.Device.Utilities.Invoker" Version="1.0.45.30811" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MakoIoT.Device.Utilities.Invoker" Version="1.0.45.30811" />
                    
Directory.Packages.props
<PackageReference Include="MakoIoT.Device.Utilities.Invoker" />
                    
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 MakoIoT.Device.Utilities.Invoker --version 1.0.45.30811
                    
#r "nuget: MakoIoT.Device.Utilities.Invoker, 1.0.45.30811"
                    
#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 MakoIoT.Device.Utilities.Invoker@1.0.45.30811
                    
#: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=MakoIoT.Device.Utilities.Invoker&version=1.0.45.30811
                    
Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Utilities.Invoker&version=1.0.45.30811
                    
Install as a Cake Tool

Mako-IoT.Device.Utilities.Invoker

Gracefully retries given call when exception occurs. This is common technique for transient fault handling.

Usage

HttpClient httpClient = new();
string apiResult;

//try calling REST API max. three times
Invoker.Retry(() =>
{
    using var response = httpClient.Get(apiUrl);
    response.EnsureSuccessStatusCode();
    apiResult = response.Content.ReadAsString();
}, 3, (ex, attempt) =>
{
    _logger.LogError("HttpClient.Get exception", ex);
    return true;
});
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on MakoIoT.Device.Utilities.Invoker:

Package Downloads
MakoIoT.Device.Services.ConfigurationManager

Configuration mode manager for MAKO-IoT

MakoIoT.Device.Services.ConfigurationApi

REST API for configuration with MAKO-IoT

MakoIoT.Device.Services.WiFi.AP

WiFi Access Point library for MAKO-IoT

MakoIoT.Device.Platform.LocalConfig

MAKO-IoT Platform local configuration library. On-device web server, WiFi AP

MakoIoT.Device.Services.Logging.Sinks.Elasticsearch

MAKO-IoT Platform local configuration library. On-device web server, WiFi AP

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.49.58921 169 9/27/2025
1.0.48.26874 2,047 4/17/2025
1.0.47.11396 668 4/2/2025
1.0.46.41501 853 3/20/2025
1.0.45.30811 659 3/10/2025
1.0.44.64291 1,145 2/25/2025
1.0.43.63781 537 2/20/2025
1.0.42.25254 604 2/18/2025
1.0.41.39143 644 11/27/2024
1.0.40.10358 292 11/26/2024
1.0.39.7720 299 11/25/2024
1.0.38.31486 605 11/19/2024
1.0.37.26660 1,214 10/18/2024
1.0.36.43501 409 10/16/2024
1.0.35.30819 1,124 9/20/2024
1.0.34.53288 685 9/12/2024
1.0.33.61571 803 8/27/2024
1.0.32.42051 692 8/10/2024
1.0.31.7929 1,413 6/12/2024
1.0.30.23980 1,464 5/17/2024
1.0.29.40293 1,987 4/8/2024
1.0.28.14340 1,303 3/21/2024
1.0.27.50780 7,527 11/12/2023
1.0.24.34787 5,446 5/24/2023
1.0.22.49686 239 5/24/2023
1.0.20.26092 870 5/23/2023