CorrelationID-CSI 1.1.1

Additional Details

NOT USE

dotnet add package CorrelationID-CSI --version 1.1.1
NuGet\Install-Package CorrelationID-CSI -Version 1.1.1
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="CorrelationID-CSI" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CorrelationID-CSI --version 1.1.1
#r "nuget: CorrelationID-CSI, 1.1.1"
#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.
// Install CorrelationID-CSI as a Cake Addin
#addin nuget:?package=CorrelationID-CSI&version=1.1.1

// Install CorrelationID-CSI as a Cake Tool
#tool nuget:?package=CorrelationID-CSI&version=1.1.1

CorrelationID-CSI

CorrelationID-CSI es una biblioteca para .NET 7 que facilita la gestión de Correlation IDs en aplicaciones distribuidas. Esta biblioteca asegura que un Correlation ID único se genere al principio de una solicitud y se propague a través de todas las llamadas entre microservicios y APIs, facilitando así la trazabilidad y el diagnóstico de problemas.

Características

  • Generación automática de Correlation IDs para solicitudes entrantes.
  • Propagación de Correlation IDs para llamadas HTTP salientes.
  • Integración con Serilog para incluir Correlation IDs en los registros.

Cómo comenzar

Para usar CorrelationID-CSI en tu proyecto, sigue estos pasos:

  1. Instala el paquete NuGet:

dotnet add package CorrelationID-CSI

  1. Configura el middleware en tu Program.cs o Startup.cs para usar el Correlation ID:

public void ConfigureServices(IServiceCollection services) { services.AddCorrelationIdSupport(); }

public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseCorrelationIdMiddleware(); }

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
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
1.1.1 116 2/26/2024
1.1.0 99 2/26/2024
1.0.3 102 2/26/2024
1.0.2 94 2/26/2024
1.0.1 94 2/26/2024
1.0.0 103 2/26/2024