Senparc.Ncf.Shared.Abstractions 0.4.0-preview3

Prefix Reserved
This is a prerelease version of Senparc.Ncf.Shared.Abstractions.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Senparc.Ncf.Shared.Abstractions --version 0.4.0-preview3
                    
NuGet\Install-Package Senparc.Ncf.Shared.Abstractions -Version 0.4.0-preview3
                    
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="Senparc.Ncf.Shared.Abstractions" Version="0.4.0-preview3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Senparc.Ncf.Shared.Abstractions" Version="0.4.0-preview3" />
                    
Directory.Packages.props
<PackageReference Include="Senparc.Ncf.Shared.Abstractions" />
                    
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 Senparc.Ncf.Shared.Abstractions --version 0.4.0-preview3
                    
#r "nuget: Senparc.Ncf.Shared.Abstractions, 0.4.0-preview3"
                    
#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 Senparc.Ncf.Shared.Abstractions@0.4.0-preview3
                    
#: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=Senparc.Ncf.Shared.Abstractions&version=0.4.0-preview3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Senparc.Ncf.Shared.Abstractions&version=0.4.0-preview3&prerelease
                    
Install as a Cake Tool

Senparc.Ncf.Shared.Abstractions

Senparc.Ncf.Shared.Abstractions contains small contracts shared by independently deployable NCF components. It is designed to reduce coupling between event producers, event consumers, and optional XNCF modules.

Features

  • Integration event and event-handler contracts.
  • Request/response event contracts for in-process request clients.
  • Authorized synchronization event markers for identity-scoped updates.
  • Synchro (灵犀) provider and change-notification contracts for optional Admin Footer monitoring.
  • No concrete web host or database implementation.

Installation

<PackageReference Include="Senparc.Ncf.Shared.Abstractions" Version="0.26.0-preview3" />

Key API

  • Implement IIntegrationEvent for a publishable event payload.
  • Implement IIntegrationEventHandler<TEvent> for a consumer.
  • Use IIntegrationRequest with IEventBusRequestClient for correlated request/response flows.
  • Use IAuthorizedIntegrationSyncEvent when the event must be filtered by the current authorized owner.
  • Implement ISynchroProvider in an XNCF module and register it with DI to expose a small, non-sensitive status snapshot.

The package defines contracts only. Register a compatible IEventBus implementation, validate event ownership in the consuming host, and avoid putting secrets or full message bodies into shared event payloads.

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 (8)

Showing the top 5 NuGet packages that depend on Senparc.Ncf.Shared.Abstractions:

Package Downloads
Senparc.Ncf.Core

Senparc.Ncf.Core

Senparc.Xncf.PromptRange.Abstractions

Senparc.Xncf.PromptRange.Abstractions

Senparc.Xncf.DesktopBridge

为 NCF 桌面应用提供安全的本机状态发现和事件流桥接。

Senparc.Xncf.AgentsManager.Abstractions

Senparc.Xncf.AgentsManager.Abstractions

Senparc.Xncf.XncfBuilder.Abstractions

Senparc.Xncf.XncfBuilder 集成事件与跨模块契约抽象

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.0-preview5 1,524 8/12/2026
0.5.0-preview4 424 8/8/2026
0.4.0-preview3 459 8/3/2026
0.3.0-preview2 991 7/26/2026
0.2.1-preview1 684 6/17/2026
0.1.2-preview1 444 6/16/2026
0.1.1-preview1 293 5/22/2026

v0.1.0 创世
     [2026-07-26] v0.3.0-preview2 新增 EventBus 请求-响应与授权同步公共契约
     1、新增 IEventBusRequestClient 与 IIntegrationRequest 公共请求契约
     2、新增管理员隔离的授权集成同步事件契约
     [2026-08-04] v0.4.0-preview3 新增运行时同步提供程序抽象
     1、新增 ISynchroProvider,统一同步提供程序标识、可用性与执行契约