ZL.PFLite 2.3.0

dotnet add package ZL.PFLite --version 2.3.0
                    
NuGet\Install-Package ZL.PFLite -Version 2.3.0
                    
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="ZL.PFLite" Version="2.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZL.PFLite" Version="2.3.0" />
                    
Directory.Packages.props
<PackageReference Include="ZL.PFLite" />
                    
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 ZL.PFLite --version 2.3.0
                    
#r "nuget: ZL.PFLite, 2.3.0"
                    
#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 ZL.PFLite@2.3.0
                    
#: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=ZL.PFLite&version=2.3.0
                    
Install as a Cake Addin
#tool nuget:?package=ZL.PFLite&version=2.3.0
                    
Install as a Cake Tool

ZL.PFLite

通用基础库(历史包):日志、配置、加解密、CSV/JSON、网络工具、Windows/Linux 服务管理、DTO。

与 IoT 无关 —— 任何 .NET 项目都可单独引用。

目标框架:netstandard2.0 / net48 / net8.0 / net10.0


装什么

dotnet add package ZL.PFLite

包含哪些命名空间

命名空间 内容(代表类型)
ZL.PFLite.Log 日志:MyLog / LogQueue / CMsg / LogMsg
ZL.PFLite.Common 通用工具:AsciiKit / CSVKit / JsonFileKit / Assert / AttrForCsvColumn
ZL.PFLite.Net 网络:FtpKit / DownloadKit / IpKit / IoDto
ZL.PFLite.Core 基础:AppKit / CacheManager / CmdHelper / CodeExecutionTimer
ZL.PFLite.Service 服务托管:IServiceManager / WindowsServiceManager / LinuxServiceManager
ZL.PFLite.Auth 加解密与授权:AESEncryption / DecryptEncrypt / ConfigInformation / DogDriverClass
ZL.PFLite.Calc 计算:PmsCalcKit
ZL.PFLite.Ext 扩展方法
ZL.PFLite.TaskKit 任务工具
ZL.PFLite.Dto 共享 DTO:KeyVal / SpVal / UserProfile

⚠️ 这些不在本包(常见误解)

XLog / XStrKit / XPing / XTrace 位于 ZL.IotAbstraction 包的 ZL.IotAbstraction.Utils 命名空间, 不在 ZL.PFLite。要使用它们请额外安装:

dotnet add package ZL.IotAbstraction

编码支持(重要变更)

System.Text.Encoding.CodePages 已于 2026-11-12 彻底移除(Owner 决定,与 HSL 保持一致)。

⇒ GB2312 / GBK / Big5 等非 Unicode 代码页不再开箱可用。 net48 上框架自带部分代码页;net8.0 / net10.0 / netstandard2.0 上调用 Encoding.GetEncoding(936) 会抛 NotSupportedException。

若确需这些代码页:重新引入 System.Text.Encoding.CodePages 包并注册 CodePagesEncodingProvider.Instance(不要自研编码表)。


边界

  • 历史遗留包,新项目优先考虑 ZL.IotAbstraction 里的 Xxx 工具族
  • 不含任何 IoT / 协议逻辑
  • 不引第三方依赖(保持零依赖)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on ZL.PFLite:

Package Downloads
ZL.DB.Acc

Package Description

ZL.Dao.IotDevice

Package Description

ZL.EdgeService

Package Description

ZL.Cfg

Description

ZL.Tag

Tag abstraction and models for PLC integration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.0 88 11/19/2026
2.2.19 119 11/7/2026
2.2.18 104 11/7/2026
2.2.17 183 10/27/2026
2.2.16-beta.3 88 10/15/2026
2.2.16-beta.2 80 10/15/2026
2.2.15 146 10/8/2026
2.2.14 143 10/6/2026
2.2.13 152 9/29/2026
2.2.12 150 9/28/2026
2.2.11 367 9/23/2026
2.2.10 165 9/21/2026
2.2.9 168 9/11/2026
2.2.8 170 9/11/2026
2.2.7 156 9/10/2026
2.2.6 180 9/10/2026
2.2.5 175 9/10/2026
2.2.4 213 9/6/2026
2.2.3 197 9/4/2026
2.2.2 181 9/4/2026
Loading failed