CorrelationID-CSI
1.0.0
NOT USE
dotnet add package CorrelationID-CSI --version 1.0.0
NuGet\Install-Package CorrelationID-CSI -Version 1.0.0
<PackageReference Include="CorrelationID-CSI" Version="1.0.0" />
paket add CorrelationID-CSI --version 1.0.0
#r "nuget: CorrelationID-CSI, 1.0.0"
// Install CorrelationID-CSI as a Cake Addin #addin nuget:?package=CorrelationID-CSI&version=1.0.0 // Install CorrelationID-CSI as a Cake Tool #tool nuget:?package=CorrelationID-CSI&version=1.0.0
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:
- Instala el paquete NuGet:
dotnet add package CorrelationID-CSI
- Configura el middleware en tu
Program.cs
oStartup.cs
para usar el Correlation ID:
public void ConfigureServices(IServiceCollection services) { services.AddCorrelationIdSupport(); }
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseCorrelationIdMiddleware(); }
Product | Versions 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. |
-
net7.0
- Microsoft.AspNetCore.OpenApi (>= 7.0.16)
- Serilog (>= 3.1.1)
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 |
---|