Liwendong.Utility 3.3.2

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

Liwendong.Utility

通用辅助工具集合。

字符串、日期、IO、加密、邮件、HTTP、反射等常用辅助能力。

安装

dotnet add package Liwendong.Utility

说明

  • 本包属于 LiwendongPackages 组件集合。
  • 具体目标框架与依赖请参阅本包 .csproj 文件。

版本历史

3.3.2 (2026-10-22)

  • 修复:GetRequestParameterToDictionary(HttpContext)(.NET Core 分支)与 GetRequestParameterRemark(HttpContext) 缺少 httpContext 判空,在无 HTTP 上下文(后台线程、未注册 IHttpContextAccessor 等)调用时抛出 NullReferenceException,现补齐判空并返回空结果,与其余重载行为一致
  • 修复:GetRequestParameterToDictionary(HttpContextBase) 等 .NET Framework 分支中 JSON body 反序列化结果可能为 null,补齐 ?? new SortedDictionary 兜底,避免合并 QueryString 时抛出 NullReferenceException
  • 修复:GetRequestParameterRemark 两个重载增加整体异常兜底(对齐 GetIP 的模式)。.NET Framework 下 HttpContext.Current 会流转到后台线程(CallContext),请求结束后 RequestExists() 可能通过但访问 Form/InputStream 仍会抛 NullReferenceException;该方法常用于异常处理器(如 OnException),自身绝不能抛异常掩盖原始错误,现内部异常捕获记日志后返回空字符串
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 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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net451 is compatible.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Liwendong.Utility:

Package Downloads
Liwendong.Frameworks

基础框架

Liwendong.Frameworks.Services.API

服务API管理

Liwendong.Wexin.MP.SDK

微信公众号辅助SDK

Liwendong.Frameworks.Data.DapperExtend

Dapper扩展

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.3.3 152 10/23/2026
3.3.2 90 10/22/2026
3.3.1 331 10/20/2026
3.2.0 104 10/8/2026
2.9.3 274 5/9/2026
2.9.2 184 2/15/2026
2.9.1 352 11/27/2025
2.8.11 313 11/24/2025
2.8.10 753 11/20/2025
2.8.9 230 9/27/2025
2.8.8 429 9/22/2025
2.8.7 422 9/17/2025
2.8.6 338 9/15/2025
2.8.5 326 9/4/2025
2.8.3 839 9/1/2025
2.8.2 466 8/26/2025
2.8.1 250 8/23/2025
2.8.0 343 8/13/2025
2.7.3 297 8/13/2025
2.7.2 472 8/13/2025
Loading failed