FzLib 3.3.6

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FzLib --version 3.3.6
                    
NuGet\Install-Package FzLib -Version 3.3.6
                    
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="FzLib" Version="3.3.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FzLib" Version="3.3.6" />
                    
Directory.Packages.props
<PackageReference Include="FzLib" />
                    
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 FzLib --version 3.3.6
                    
#r "nuget: FzLib, 3.3.6"
                    
#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 FzLib@3.3.6
                    
#: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=FzLib&version=3.3.6
                    
Install as a Cake Addin
#tool nuget:?package=FzLib&version=3.3.6
                    
Install as a Cake Tool

FzLib v3

FzLib是一套本人开发过程中逐渐形成的工具库,包含数据、IO、加密解密、应用、界面等各方面的重复性代码。

分为FzLib、FzLib.Avalonia和FzLib.Samples三个项目:

  • FzLib为一个 .NET 通用工具库,涵盖数据处理、文件操作、加密解密、安全、配置与应用逻辑等常用开发辅助功能
  • FzLib.Avalonia为基于Avalonia框架的扩展库,为跨平台桌面应用提供 MVVM 支持、控件扩展与界面交互辅助
  • FzLib.Samples包含了各模块的示例代码。

FzLib NuGet FzLib.Avalonia NuGet Size License

分支

命名空间 包含的内容
master 2018~2022年形成的库,主要涵盖.NET通用开发、地理信息开发、WPF开发等,支持.NET Framework和.NET Core
master_v2 2022~2025年形成的库,同时服务于.NET通用开发、Windows(WPF)开发和Avalonia开发,仅支持.NET
master_v3 2025年以后形成的库,同时服务于.NET通用开发和Avalonia开发,仅支持.NET
dev 尚处于开发过程中的最新代码

项目结构

FzLib

一个.NET通用工具库,涵盖数据处理、文件操作、加密、安全、配置与应用逻辑等常用开发辅助功能

命名空间 包含的内容
Application 应用程序信息
Application.Startup 应用程序开机启动
Collections 集合辅助
Cryptography 加密解密辅助
IO 文件目录及输入输出
IO.Pipes 管道通信相关
Net 网络请求辅助
Numeric 数值计算与转换
Programming 编程辅助
Text 文本处理

FzLib.Avalonia

基于Avalonia框架的扩展库,为跨平台桌面应用提供MVVM支持、控件扩展与界面交互辅助

命名空间 包含的内容
Behaviors 控件行为
Controls 自定义控件
Controls.Forms 表单控件
Controls.Progresses 进度相关控件
Controls.Windows 自定义窗体
Converters 值转换器
Extensions 扩展方法
DependencyInjection 依赖注入辅助
Dialogs 对话框
Dialogs.Containers 对话框容器
Dialogs.Picker 文件目录对话框扩展
Dialogs.Presets 预设自定义对话框
Dialogs.Services 对话框服务
MarkupExtensions XAML标记扩展
Services 辅助MVVM的服务
Styles 样式和主题

构建

  • 执行build.ps1构建类库
  • 执行build-samples.ps1构建示例程序。指定-w仅构建Windows示例,指定-m仅构建MacOS示例,指定-l仅构建Linux示例。默认会自动检测当前系统(需要PowerShell7+),对本系统的程序启用AOT。

文档

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 (2)

Showing the top 2 NuGet packages that depend on FzLib:

Package Downloads
FzLib.Avalonia

Package Description

FzLib.Windows

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FzLib:

Repository Stars
f-shake/ArchiveMaster
一套协助用户对文件进行处理、管理、备份、同步的工具集;A toolkit designed to assist users in processing, managing, backing up, and synchronizing files.
Version Downloads Last Updated
3.4.0-rc.2 44 5/11/2026
3.4.0-rc.1 49 5/9/2026
3.3.6 114 4/27/2026
3.3.4 108 4/14/2026
3.3.2 184 12/14/2025
3.3.1 210 10/30/2025
3.3.0 205 10/27/2025
3.2.1 195 10/22/2025
3.2.0 190 10/21/2025
3.1.9 196 10/19/2025
3.1.8 178 10/17/2025
3.1.7 198 10/13/2025
3.1.6 185 10/12/2025
3.1.5 117 10/11/2025
3.1.4 201 10/7/2025
3.1.3 210 10/1/2025
3.1.1 330 9/16/2025
3.1.0 123 9/13/2025
3.0.14 204 9/10/2025
3.0.13 196 9/9/2025
Loading failed