TC.Tier.Core.IO.Net 1.0.0-alpha.3

This is a prerelease version of TC.Tier.Core.IO.Net.
dotnet add package TC.Tier.Core.IO.Net --version 1.0.0-alpha.3
                    
NuGet\Install-Package TC.Tier.Core.IO.Net -Version 1.0.0-alpha.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TC.Tier.Core.IO.Net" Version="1.0.0-alpha.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TC.Tier.Core.IO.Net" Version="1.0.0-alpha.3" />
                    
Directory.Packages.props
<PackageReference Include="TC.Tier.Core.IO.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TC.Tier.Core.IO.Net --version 1.0.0-alpha.3
                    
#r "nuget: TC.Tier.Core.IO.Net, 1.0.0-alpha.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TC.Tier.Core.IO.Net@1.0.0-alpha.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TC.Tier.Core.IO.Net&version=1.0.0-alpha.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TC.Tier.Core.IO.Net&version=1.0.0-alpha.3&prerelease
                    
Install as a Cake Tool

TC.Tier.Core.IO.Net

TC.Tier 文件系统层的根空间镜像 TCP 流式收发——把本地 TierFs 根空间(TCA1 结构化流)经 TCP 推送到对端落盘,带逐帧 CRC 与尾对账。Core.IO 镜像能力(TC.Tier.Core Image)的网络发射端。

能力

  • TIN1 协议:握手(magic/版本/mode)→ TCA1 载荷 → 回执帧(帧数/字节/聚合 CRC/状态)
  • 双向对称:同一 TCP 连接,发起端既可 Send(采集推送)也可 ReceiveTo(接收落盘)——对端运行互补方法
  • 端到端确认:TCA1 逐帧 CRC + 尾对账之上,接收端回执回传摘要——发送端确认对端落盘一致(不符抛异常)
  • 传送模式:Structural(TCA1 结构化流——跨介质可转、逐帧校验,当前唯一生效形态);Raw 裸字节流为 v1 预留值——握手即拒

快速开始

using TC.Tier.Core.IO.Net;

// 接收端:监听端口并阻塞至传送完成(对端 Send 回执对账一致才返回)
var recv = NetworkImageTransfer.ReceiveTo(targetFs, port, ct: ct);

// 发送端:采集本地根空间推送,阻塞至对端回执对账一致
var result = NetworkImageTransfer.Send(sourceFs, host, port);
Console.WriteLine($"verified={result.Verified} bytes={result.RawBytes}");

依赖

  • TC.Tier.Core(IFileSystem/镜像采集)

文档

  • 完整文档站:https://docs.mytzz.top/
  • 镜像网络传输使用指南:https://docs.mytzz.top/docs/core/network-image-transfer.html

状态

Beta——v1 边界:单连接单传送(无续传/多路复用,帧级断点续传为后续增强)。

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.3 0 9/18/2026
1.0.0-alpha.2 5 9/18/2026
1.0.0-alpha.1 36 9/16/2026