Pavas.Runtime.TraceContext
1.0.0
dotnet add package Pavas.Runtime.TraceContext --version 1.0.0
NuGet\Install-Package Pavas.Runtime.TraceContext -Version 1.0.0
<PackageReference Include="Pavas.Runtime.TraceContext" Version="1.0.0" />
paket add Pavas.Runtime.TraceContext --version 1.0.0
#r "nuget: Pavas.Runtime.TraceContext, 1.0.0"
// Install Pavas.Runtime.TraceContext as a Cake Addin #addin nuget:?package=Pavas.Runtime.TraceContext&version=1.0.0 // Install Pavas.Runtime.TraceContext as a Cake Tool #tool nuget:?package=Pavas.Runtime.TraceContext&version=1.0.0
Pavas.Runtime.TraceContext
Pavas.Runtime.TraceContext is a library designed to manage traceability within an application. This library allows you to easily track the flow of requests and operations, making it easier to diagnose issues and monitor application behavior.
Features
- Traceability: Provides a middleware and context that enable tracking of requests throughout the application's lifecycle.
- Correlation ID Support: The library supports the use of
X-Correlation-ID
headers, allowing you to trace requests across multiple services. - Easy Integration: Integrates seamlessly with ASP.NET Core via dependency injection and middleware.
Installation
To use this library, it must be included in the project. This is typically done through dependency injection and middleware configuration.
Usage
Configuring the Trace Context
Add the TraceContext to your services during the configuration of the application's services:
builder.Services.AddTraceContext();
Use the TraceContext middleware to enable tracing in your application:
app.UseTraceContextMiddleware();
Contribution
This is a project under continuous development. If you wish to contribute, please fork the repository, create a new branch, and submit a pull request.
License
This project is licensed under the terms of the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.AspNetCore.Http (>= 2.1.34)
- Pavas.Patterns.Context (>= 1.0.4)
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.0.0 | 147 | 8/25/2024 |