Raycynix.Extensions.Common 3.0.0

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

Raycynix.Extensions.Common

Raycynix.Extensions.Common contains shared primitives and helper utilities used across Raycynix extension packages.

What it contains

  • IOperationContext and OperationContext
  • assembly metadata helpers
  • reusable disposable helpers

Usage

services.TryAddScoped<IOperationContext, OperationContext>();

var serviceName = AssemblyHelper.CurrentName();
var serviceVersion = AssemblyHelper.CurrentVersion();

using var _ = NoopDisposable.Instance;

OperationContext.CorrelationId and the fallback TraceId are generated lazily and remain stable for the same context instance. When Activity.Current exists, TraceId follows the active diagnostic activity.

Migrating From 2.x

Version 3.0 targets .NET 10. Existing public APIs remain compatible; update this package together with the other Raycynix 3.0 packages.

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.
  • net10.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Raycynix.Extensions.Common:

Package Downloads
Raycynix.Extensions.Logging.Abstractions

Abstractions, configuration models, and extension contracts for Raycynix typed logging and optional Serilog integrations.

Raycynix.Extensions.Messaging

Transport-agnostic messaging, dispatch, direct requests, standard .NET metrics instrumentation, scoped envelopes, and outbox/inbox reliability foundations.

Raycynix.Extensions.Observability

Provider-neutral observability composition for Raycynix applications, combining standard .NET metrics, tracing, and ambient operation context registration.

Raycynix.Extensions.Exceptions

Core validated exception mapping, sensitive-data masking, transient retry execution, and background task failure handling for Raycynix applications.

Raycynix.Extensions.Database.Observability

Database observability integration for recording initialization, creation, migration, and model-building through tracing and standard .NET metrics.

GitHub repositories

This package is not used by any popular GitHub repositories.

v3.0.0 aligns the shared primitives package with the net10.0 Raycynix package line. Existing operation-context and helper APIs remain compatible.