Skip to main content
net10.0

NCF Host 与 NcfDesktop 安装包镜像:从各自的 GitHub Release 同步至 NcfPackages/host 和 desktop,并提供独立下载清单

Published
Aug 8, 2026
2mo ago
Total Downloads
1.2K
1,226

Install

dotnet add package Senparc.Xncf.FirmwareUpdate --version 0.4.1-preview6
ProductVersions
.NET
net10.0

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 under NcfPackages/desktop/{tag}.
  • Keeps the existing GitHub-compatible latest-release.json schema for NCF Host packages and maintains a separate latest-desktop-release.json for 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

  • FirmwareUpdateAppService exposes configuration and synchronization operations.
  • FirmwareUpdate_ConfigureRequest describes mirror settings.
  • FirmwareUpdate_SyncNowRequest requests an immediate synchronization.
  • NcfPackageMirrorService performs release/package mirror work.
  • FirmwareUpdateConfig stores 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

No structural changes between v0.4.0-preview5 and v0.4.1-preview6.

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.