Skip to main content
net10.0

Senparc.Xncf.XncfBuilder 快速生成 XNCF 模块基础程序代码

Published
Jul 31, 2026
2mo ago
Total Downloads
52.8K
52,848

Install

dotnet add package Senparc.Xncf.XncfBuilder --version 0.38.0-preview7
ProductVersions
.NET
net10.0

README

Senparc.Xncf.XncfBuilder

Senparc.Xncf.XncfBuilder is an NCF module and service layer for generating the starter code and metadata of an XNCF module.

Features

  • Generates module files, application-service interfaces, database entities, and migration scaffolding.
  • Reads the XNCF template package and writes multiple generated files with placeholder replacement.
  • Provides database migration and template inspection workflows through NCF function requests.
  • Includes module-inventory request/response events for cross-module discovery.

Installation

<PackageReference Include="Senparc.Xncf.XncfBuilder" Version="0.26.0-preview3" />

For the dotnet new workflow, install the companion template package:

dotnet new install Senparc.Xncf.XncfBuilder.Template
dotnet new xncf -n MyProject --force --UseDatabase true

Key API

  • BuildXncfAppService handles module-generation operations.
  • BuildXncf_BuildRequest, BuildXncf_CreateAppServiceRequest, and BuildXncf_CreateDatabaseEntityRequest describe generation tasks.
  • GenerateAppServiceInterface and DatabaseMigrationsAppService expose focused code-generation workflows.
  • MultiFileCodeGenerator writes template-driven file sets; BuildXncfRequestHelper normalizes generation requests.
  • XncfModulesInventoryRequestHandler and XncfModulesInventoryResponseHandler support module inventory exchange.

Review generated files before committing them. Generated source can include database and authorization decisions that must be adapted to the host application's domain and security model.

Changes from Previous Version

No structural changes between v0.37.1-preview6 and v0.38.0-preview7.

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.The published metadata declares 20 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.