Senparc.Xncf.FirmwareUpdate
NCF Host 与 NcfDesktop 安装包镜像:从各自的 GitHub Release 同步至 NcfPackages/host 和 desktop,并提供独立下载清单
Install
| Product | Versions |
|---|---|
| .NET |
README
Senparc.Xncf.FirmwareUpdate
Senparc.Xncf.FirmwareUpdate mirrors NCF Host runtime packages and NcfDesktop application packages from GitHub Releases into an NCF site's wwwroot/NcfPackages area and exposes controlled fallback metadata.
Features
- Stores mirror configuration and synchronization status in an XNCF database context.
- Supports scheduled or explicitly requested package synchronization.
- Provides a package mirror service for release metadata and downloaded assets.
- Stores NCF Host packages under
NcfPackages/host/{tag}and NcfDesktop packages underNcfPackages/desktop/{tag}. - Keeps the existing GitHub-compatible
latest-release.jsonschema for NCF Host packages and maintains a separatelatest-desktop-release.jsonfor the public NcfDesktop download page. - Publishes each feed independently only after all six ZIP assets pass size and GitHub SHA-256 verification.
- Supports the NCF multi-database context model and localized module resources.
Installation
<PackageReference Include="Senparc.Xncf.FirmwareUpdate" Version="0.26.0-preview3" />
Key API
FirmwareUpdateAppServiceexposes configuration and synchronization operations.FirmwareUpdate_ConfigureRequestdescribes mirror settings.FirmwareUpdate_SyncNowRequestrequests an immediate synchronization.NcfPackageMirrorServiceperforms release/package mirror work.FirmwareUpdateConfigstores the module's persisted configuration.
Configure repository allowlists, release channels, download timeouts, destination permissions, and cleanup policy in the host. Verify downloaded assets before serving them, and never allow arbitrary URLs to become mirror targets.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.