Senparc.Ncf.XncfBase
0.24.0-preview5
Prefix Reserved
dotnet add package Senparc.Ncf.XncfBase --version 0.24.0-preview5
NuGet\Install-Package Senparc.Ncf.XncfBase -Version 0.24.0-preview5
<PackageReference Include="Senparc.Ncf.XncfBase" Version="0.24.0-preview5" />
<PackageVersion Include="Senparc.Ncf.XncfBase" Version="0.24.0-preview5" />
<PackageReference Include="Senparc.Ncf.XncfBase" />
paket add Senparc.Ncf.XncfBase --version 0.24.0-preview5
#r "nuget: Senparc.Ncf.XncfBase, 0.24.0-preview5"
#:package Senparc.Ncf.XncfBase@0.24.0-preview5
#addin nuget:?package=Senparc.Ncf.XncfBase&version=0.24.0-preview5&prerelease
#tool nuget:?package=Senparc.Ncf.XncfBase&version=0.24.0-preview5&prerelease
Senparc.Ncf.XncfBase
Senparc.Ncf.XncfBase is the module runtime foundation for NeuCharFramework. XNCF modules use it to describe themselves, register services, expose functions/pages, manage database contexts, and participate in startup and installation.
Features
IXncfRegister,XncfRegisterBase, registration attributes, and module availability checks.- Automatic module discovery, startup, installation, update, and database configuration mapping.
- Function-render requests, parameter UI metadata, selection lists, localized descriptions, and MCP hooks.
- XNCF thread builders, middleware contracts, Razor runtime compilation contracts, and version helpers.
Installation
<PackageReference Include="Senparc.Ncf.XncfBase" Version="0.26.0-preview3" />
Key API
Register.StartNcfEngine(...)starts the NCF module engine and scans configured assemblies.Register.UseXncfModules(...)activates discovered modules in an ASP.NET Core application.XncfRegisterManager.IsRegistered(...)andCheckXncfAvailable(...)inspect module state.FunctionRenderCollection.Add(...),GetByRegisterType(...), andGetByModuleUid(...)manage function metadata.FunctionRequestParameterNormalizer.NormalizeJson(...)normalizes function request JSON.XncfDatabaseDbContext.Migrate()andResetMigrate()expose module database lifecycle operations.
An XNCF module should provide a stable UID, register type, display metadata, and explicit dependencies. Treat automatic assembly scanning as a deployment boundary and restrict the scanned paths in production.
| Product | Versions 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. |
-
net10.0
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.10)
- Senparc.CO2NET (>= 4.2.0)
- Senparc.Ncf.Core (>= 0.28.0-preview5)
- Senparc.Ncf.Database (>= 0.21.5-preview5)
- Senparc.Ncf.Service (>= 0.23.5-preview5)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on Senparc.Ncf.XncfBase:
| Package | Downloads |
|---|---|
|
Senparc.Ncf.AreaBase
Senparc.Ncf.AreaBase |
|
|
Senparc.Xncf.XncfBuilder
Senparc.Xncf.XncfBuilder 快速生成 XNCF 模块基础程序代码 |
|
|
Senparc.Ncf.DatabasePlant
Senparc.Ncf.DatabasePlant 数据库组装厂。 一般只在开发环境下对数据库修改时使用,因此可以添加条件编译符号,如: <PackageReference Condition=" 'Release' != 'Release' " Include="Senparc.Ncf.DatabasePlant" Version="0.2.200.102-beta1" /> |
|
|
ML.Xncf.Docs
这是一个开发者文档项目,用于阐述NCF的架构,便于开发者快速上手并掌握NCF的使用规范及开发方法 |
|
|
Senparc.Xncf.DatabaseToolkit
Senparc.Xncf.DatabaseToolkit 修改命名空间 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.24.0-preview5 | 164 | 8/3/2026 |
| 0.23.5-preview4 | 192 | 7/31/2026 |
| 0.23.4-preview3 | 191 | 7/28/2026 |
| 0.23.3-preview2 | 199 | 7/26/2026 |
| 0.23.2-preview1 | 198 | 7/3/2026 |
| 0.23.1-preview1 | 314 | 6/17/2026 |
| 0.22.19.1-preview | 238 | 5/9/2026 |
| 0.22.18-preview.1 | 89 | 4/8/2026 |
| 0.22.17-preview.1 | 147 | 2/13/2026 |
| 0.22.16-preview.1 | 105 | 1/7/2026 |
| 0.22.15.3-preview | 170 | 12/28/2025 |
| 0.22.15.1-preview | 150 | 12/28/2025 |
| 0.22.15-preview | 254 | 11/1/2025 |
| 0.22.13.7-preview | 314 | 8/20/2025 |
| 0.22.13.5-preview | 246 | 8/18/2025 |
| 0.22.13.4-preview | 279 | 7/14/2025 |
| 0.22.13.3-preview | 331 | 7/2/2025 |
| 0.22.13.2-preview | 286 | 7/2/2025 |
| 0.22.13-preview.1 | 201 | 6/26/2025 |
| 0.22.2-preview | 197 | 6/16/2026 |
v0.1.0 创世
v0.2.100 完成基础架构,功能跑通
v0.3.100 优化 Function 返回值
v0.3.303 提供 IXncfThread 接口
v0.3.305 添加 XncfAutoConfigurationMapping 特性
v0.3.501 添加 Register.IsRegistered 方法
v0.7 升级 Function 为 FunctionRender
v0.9.1.6 优化 DDD 分层,忽略系统表的删除 History 操作
v0.11.3.1 重新开启线程 XncfThread
v0.11.8 添加 ServiceBase 子类的自动依赖注入注册
v0.11.9 添加 IServiceDataBase 类型自动注册
v0.13.0 添加 FunctionHelper.LoadXncfProjects() 方法
v0.13.1 添加 FunctionHelper.GetSenparcEntitiesFilePath() 方法
v0.13.2 添加 VersionHelper,统一处理版本
v0.15.0 SelectionItem 支持 BindData 属性
v0.15.4 删除 ScanTypeKind.IFunction 枚举
[2024-08-07] v0.21.0.0-preview1 111
[2024-08-11] v0.21.1.0-preview1 新增 DtoBase<T> 类型
[2024-08-11] v0.21.2.0-preview1 新增 DtoBase<T> 类型
[2024-08-12] v0.21.3-preview1 添加 TableData 的数据插入方法,通过单元测试
[2024-08-28] v0.21.6-preview1 Function 添加 Password 类型
[2024-08-28] v0.21.6.1-preview1 更新 Function 的 Password 类型,并将 MaxLength 参数传送到前端 UI
[2024-08-29] v0.21.7-preview1 完成 Password 类型的 Function 参数编辑功能
[2024-08-29] v0.21.8-preview1 完成 Password 类型的 Function 参数编辑功能
[2024-09-10] v0.21.9-preview1 升级缓存基础库
[2024-11-15] v0.21.13-preview1 优化启动时的日志记录,把所有"监测到 ApplyAllAutoConfigurationMapping 执行"记录到一条日志
[2024-12-27] v0.22.2-preview1 Add exception log for UseXncfModules() auto progress
[2025-01-25] v0.22.6-preview1 Update Agents functions, support for function calling
[2025-04-29] v0.22.8-preview1 Update CO2NET and AIKernel
[2025-04-29] v0.22.9-preview1 Update CO2NET and AIKernel
[2025-05-18] v0.22.10-preview1 Update Installation
[2025-06-20] v0.22.11-preview1 Add MCP functions in XncfRegisterBase class
[2025-06-20] v0.22.12-preview1 Add MCP functions in XncfRegisterBase class
[2025-06-27] v0.22.13-preview.1 Add dynamic XNCF Template dynamic generator
[2025-11-01] update basic libraries, including Senparc.AI
[2026-01-07] v0.22.16-preview.1 Add rootDir parameter to FunctionHelper.LoadXncfProjects() method
[2026-04-24] Simplify FunctionRender request parameters and keep SelectionList UI metadata compatibility
[2026-07-02] v0.23.2-preview1 升级 Senparc.AI.AgentKernel 并完成兼容性适配,增强 MCP 工具接入与调用链路兼容能力
1、升级 Senparc.AI.AgentKernel 并完成兼容性适配
2、增强 MCP 工具接入与调用链路兼容能力
3、增强 FunctionRequestParameterNormalizer 的参数归一化与占位符处理能力
[2026-07-17] v0.23.3-preview2 同步上游项目版本并适配统一本地化能力
1、Dependency update from Senparc.Ncf.Core to 0.25.0-preview2
2、Dependency update from Senparc.Ncf.Database to 0.21.2-preview2
3、Dependency update from Senparc.Ncf.Service to 0.23.2-preview2
[2026-07-29] v0.23.4-preview3 Dependency update from Senparc.Ncf.Core to 0.26.0-preview3
[2026-07-31] v0.23.5-preview4 升级 CO2NET 4.2.0 基础依赖
1、升级 Senparc.CO2NET 至 4.2.0 并保持现有项目行为兼容
[2026-08-04] v0.24.0-preview5 统一数据库设计时工厂与函数参数处理
1、扩展设计时 DbContext 工厂配置和 XNCF 数据库注册流程
2、优化 FunctionRender 请求参数归一化与兼容处理