Published
Aug 3, 2026
2mo ago
Total Downloads
107.9K
107,926
Install
dotnet add package Senparc.Ncf.XncfBase --version 0.24.0-preview5
| Product | Versions |
|---|---|
| .NET |
README
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.
Changes from Previous Version
No structural changes between v0.23.5-preview4 and v0.24.0-preview5.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.