Kyronex.AutoFix.Sdk 0.1.4

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

Kyronex AutoFix SDK - .NET

Client SDK for sending application errors and telemetry to Kyronex AutoFix. It is designed to be easy for humans and AI tools to understand and use.

Compatible with netstandard2.0, so it works from .NET Framework 4.8, .NET Core, and modern .NET apps.

What this SDK does

Use this SDK to send error events from your application to the AutoFix API. The SDK is intentionally simple:

  • you set the project id
  • you set the company API key
  • you create an event
  • you call TrySendAsync

If the AutoFix API is unavailable, the method returns false and does not block your app with a network exception.

Install

dotnet add package Kyronex.AutoFix.Sdk

Configuration

var client = new AutoFixClient(new HttpClient(), new AutoFixOptions
{
    BaseUrl = "https://autofix.kyronex.com.br",
    IdCompanyProject = Guid.Parse("00000000-0000-0000-0000-000000000000"),
    ApiKey = "YOUR-API-KEY"
});

Required options

  • BaseUrl: public URL of the AutoFix API.
  • IdCompanyProject: project identifier shown in the Kyronex dashboard.
  • ApiKey: company API key created in Kyronex.

Basic example

using Kyronex.AutoFix.Sdk;

var sent = await client.TrySendAsync(new AutoFixEvent(
    AutoFixEventType.Exception,
    AutoFixSeverity.Error,
    "Falha ao salvar pedido",
    "O banco retornou erro de conexao"
));

Example with stack trace, tags, and context

try
{
    await ProcessOrderAsync();
}
catch (Exception ex)
{
    var sent = await client.TrySendAsync(new AutoFixEvent(
        AutoFixEventType.UnhandledException,
        AutoFixSeverity.Critical,
        "Falha ao processar pedido",
        "Uma excecao ocorreu durante o processamento do pedido",
        StackTrace: ex.ToString(),
        Environment: "Production",
        ApplicationVersion: "1.4.2",
        UserIdentifier: "user-123",
        Tags: new Dictionary<string, string>
        {
            ["module"] = "billing",
            ["tenant"] = "kyronex"
        },
        Context: new Dictionary<string, object>
        {
            ["orderId"] = 98765,
            ["retryCount"] = 2,
            ["isTransient"] = true
        }
    ));
}

Field guide

  • EventType: what kind of event happened.
  • Severity: how serious the event is.
  • Title: short summary for list views.
  • Message: human explanation of the problem.
  • StackTrace: full exception text, usually ex.ToString().
  • Environment: app environment such as Development, Staging, or Production.
  • ApplicationVersion: version of the application that generated the event.
  • UserIdentifier: optional user, session, or account reference.
  • Tags: string metadata for search and grouping.
  • Context: structured details for debugging and future automation.
  • AutoFixEventType.Exception: caught exception in code.

  • AutoFixEventType.UnhandledException: unexpected exception that was not handled.

  • AutoFixEventType.DependencyFailure: API, database, or external service failure.

  • AutoFixEventType.ValidationError: invalid input or business-rule violation.

  • AutoFixEventType.Error: generic application error.

  • AutoFixEventType.SecurityEvent: suspicious or security-related event.

  • AutoFixEventType.PerformanceIssue: slow operation or bottleneck.

  • AutoFixEventType.Custom: anything that does not fit the standard categories.

  • AutoFixSeverity.Debug: internal debug signal.

  • AutoFixSeverity.Information: informational event.

  • AutoFixSeverity.Warning: warning that should be monitored.

  • AutoFixSeverity.Error: error affecting the normal flow.

  • AutoFixSeverity.Critical: urgent issue that needs immediate attention.

Reliability model

The SDK is meant to be safe to call from production code.

  • It does not throw network failures back to the host application.
  • It returns false when the API cannot be reached or the configuration is invalid.
  • It can retry transient failures using MaxRetries.
  • It supports a short timeout so it does not block user flows for long.

For AI tools and code assistants

If you ask an AI assistant to integrate this package, it should be able to:

  1. create an AutoFixClient
  2. fill AutoFixOptions
  3. send one AutoFixEvent
  4. use ex.ToString() for stack traces
  5. keep the call non-blocking for the host app

More examples

See EXAMPLES.md inside the package for extra scenarios.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.
  • .NETStandard 2.0

    • No dependencies.

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
0.1.4 113 9/2/2026
0.1.2 88 9/2/2026
0.1.1 94 9/2/2026
0.1.0 97 9/2/2026