Bitzsoft.Integrations.Compatibility
1.0.0-alpha.7
This is a prerelease version of Bitzsoft.Integrations.Compatibility.
dotnet add package Bitzsoft.Integrations.Compatibility --version 1.0.0-alpha.7
NuGet\Install-Package Bitzsoft.Integrations.Compatibility -Version 1.0.0-alpha.7
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="Bitzsoft.Integrations.Compatibility" Version="1.0.0-alpha.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.Compatibility" Version="1.0.0-alpha.7" />
<PackageReference Include="Bitzsoft.Integrations.Compatibility" />
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 Bitzsoft.Integrations.Compatibility --version 1.0.0-alpha.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.Compatibility, 1.0.0-alpha.7"
#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 Bitzsoft.Integrations.Compatibility@1.0.0-alpha.7
#: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=Bitzsoft.Integrations.Compatibility&version=1.0.0-alpha.7&prerelease
#tool nuget:?package=Bitzsoft.Integrations.Compatibility&version=1.0.0-alpha.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.Compatibility
Bitzsoft 集成类库基础工具包,提供参数校验、摘要计算、HTTP 内容处理和 JSON 命名策略等通用能力。
功能
- 参数校验封装。
- 十六进制转换与 MD5 摘要计算。
- HTTP 表单内容构造封装。
- 小写蛇形 JSON 命名策略。
- 共享随机数入口封装。
安装
dotnet add package Bitzsoft.Integrations.Compatibility
或在项目文件中添加:
<PackageReference Include="Bitzsoft.Integrations.Compatibility" Version="*" />
使用
using Bitzsoft.Integrations.Compatibility;
CompatibilityArgument.ThrowIfNull(value, nameof(value));
var hash = CompatibilityConvert.ComputeMd5Hash(bytes);
var signature = CompatibilityConvert.ToHexString(hash).ToLowerInvariant();
var content = CompatibilityHttpContent.CreateFormUrlEncodedContent(values);
var nonce = CompatibilityRandom.Next(100000, 999999);
适用场景
该包仅承载基础工具逻辑,不包含具体供应商业务协议。
适合用于:
- 需要复用参数校验、摘要计算和 HTTP 内容处理能力的连接器类库。
- 需要避免在业务代码中散落条件编译逻辑的项目。
相关包
| 包 | 说明 |
|---|---|
| Bitzsoft.Integrations.SsoRedirect | SSO 跳转共享层 |
| Bitzsoft.Integrations.Express | 快递物流服务抽象层 |
| Bitzsoft.Integrations.Express.All | 快递物流服务聚合包 |
| Bitzsoft.Integrations.LegalDatabase | 法规案例库抽象层 |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
-
net5.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (81)
Showing the top 5 NuGet packages that depend on Bitzsoft.Integrations.Compatibility:
| Package | Downloads |
|---|---|
|
Bitzsoft.Integrations.FileStorage
多云文件存储抽象层 — 统一接口定义与基础模型 |
|
|
Bitzsoft.Integrations.SsoRedirect
SSO 跳转共享层 — URL 模板、AES 加密、HMAC 签名与 API 重定向管道 |
|
|
Bitzsoft.Integrations.LegalDatabase
法规案例库抽象层 — 统一接口定义、基础模型与 SSO 跳转管道 |
|
|
Bitzsoft.Integrations.ElectronicSignature
电子签章抽象层 — 统一接口定义与基础模型 |
|
|
Bitzsoft.Integrations.FileStorage.Aws
AWS S3 文件存储实现 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.7 | 397 | 6/16/2026 |
| 1.0.0-alpha.6 | 385 | 6/16/2026 |
| 1.0.0-alpha.5 | 457 | 6/14/2026 |
| 1.0.0-alpha.3 | 361 | 6/7/2026 |