CHO.Configuratore.SDK 10.2.11

dotnet add package CHO.Configuratore.SDK --version 10.2.11
                    
NuGet\Install-Package CHO.Configuratore.SDK -Version 10.2.11
                    
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="CHO.Configuratore.SDK" Version="10.2.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CHO.Configuratore.SDK" Version="10.2.11" />
                    
Directory.Packages.props
<PackageReference Include="CHO.Configuratore.SDK" />
                    
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 CHO.Configuratore.SDK --version 10.2.11
                    
#r "nuget: CHO.Configuratore.SDK, 10.2.11"
                    
#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 CHO.Configuratore.SDK@10.2.11
                    
#: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=CHO.Configuratore.SDK&version=10.2.11
                    
Install as a Cake Addin
#tool nuget:?package=CHO.Configuratore.SDK&version=10.2.11
                    
Install as a Cake Tool

Mamba Config SDK

Nuget SDK per contattare gli endpoint di un'istanza di Configuratore CHO. Il client e' generato automaticamente con NSwag a partire dalla dichiarazione json OpenAPI dell'API.

Changelog 10.2.11

Questo changelog è limitato alla versione corrente. Guardare changelog.md nella cartella del progetto per l'intero storico.

Collega l'utetne a più ditte al momento della sua creazione. E' stato aggiunto il campo Companies (opzionale) a CreateUserInput e reso nullable CompanyId. Solo uno dei due può essere specificato in una richiesta.

Convenzioni di utilizzo

Passando i parametri alle funzioni facendo affidamento alla loro posizione crea codice difficile da leggere. Usa una forma piu' dichiarativa:


    
// chiamata della funzione in modo dichiarativo (nomeParametro: valore)
await mamba.ListUsers(
    companyId: "00000000-0000-0000-0000-000000000001",
    page: 1,
    pageSize: 10,
    ct: ct
)

Utilizzo

Registra l'SDK nel Program.cs:

// ...

builder.Services.AddMambaClient(opts =>
{
    opts.BaseAddress = new("http://localhost:3000");

    // Nuovo metodo
    opts.ApiKey = "mck_...";    // API key di utente di sistema con i permessi desiderati

    // Vecchio metodo
    opts.Username = "ADMIN";                        // Username di un utente di sistema con i permessi desiderati
    opts.Password = "adminPassword";                // Password dell'utente di sistema
});

// ...

Utilizzo tramite Dependency Injection:

public class MambaSDKTestController(IMambaClient _mamba) : ControllerBase
{
    // ...
    [HttpGet("{id:guid}")]
    public async Task<IActionResult> GetMambaTest(Guid id)
    {
        try
        {
            var app = await _mamba.GetApplicationById(id);
            return Ok(app);
        }
        catch (ApiException apex) {
            return StatusCode(apex.StatusCode, apex.Response);
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.2.11 82 9/28/2026
10.2.10 84 9/28/2026
10.2.9 78 9/28/2026
10.2.5 83 9/22/2026
10.2.4 90 9/21/2026
10.2.3 86 9/21/2026
10.2.2 80 9/18/2026
10.2.0 88 9/17/2026
10.1.1 91 9/17/2026
10.1.0 90 9/17/2026
10.0.3 99 9/9/2026
10.0.2 94 9/7/2026
10.0.1 95 9/4/2026
10.0.0 96 9/3/2026
0.4.6 94 9/2/2026
0.4.5 85 9/2/2026
0.4.4 83 9/1/2026
0.4.3 89 9/1/2026
0.4.2 100 8/31/2026
Loading failed