BingoHa.Shared 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BingoHa.Shared --version 0.2.0
NuGet\Install-Package BingoHa.Shared -Version 0.2.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="BingoHa.Shared" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BingoHa.Shared --version 0.2.0
#r "nuget: BingoHa.Shared, 0.2.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.
// Install BingoHa.Shared as a Cake Addin
#addin nuget:?package=BingoHa.Shared&version=0.2.0

// Install BingoHa.Shared as a Cake Tool
#tool nuget:?package=BingoHa.Shared&version=0.2.0

1、包说明

BingoHa ABP共享模块。

版本号:v 0.2.0。

2、功能说明

2.1 授权相关

接口/类 说明 备注
IJWTUser<TKey> JWT 用户接口 实现 JWT 授权认证时,请将用户类继承此接口。
IAuthManager 授权管理接口 使用授权功能时,请依赖注入此接口。
AuthManager 授权管理类

2.2 枚举相关

说明 备注
PersonGender 性别枚举 0:未知;1:男;2:女。
ResponseCode 输出状态码 200:正常;401:未授权;403:禁止访问;404:未找到资源;500:系统异常。

2.3 帮助类

说明 备注
AuthorizationHelper 授权帮助类 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。
ConfigHelper 配置帮助类
CorsHelper 跨域帮助类 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。
FilterHelper 过滤器帮助类 在 ConfigureServices 中配置。
HostHelper 主机帮助类
LoggerHelper 日志记录帮助类
RedisHelper Redis 帮助类
SwaggerHelper Swagger 帮助类 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。

2.4 输出类

说明 备注
ActionResponse 输出类 无结果输出。
ResultResponse<TResult> 结果输出类 有结果输出。
ErrorResponse 错误输出类
ForbiddenResponse 禁止访问输出类
NotFoundResponse 未找到输出类
UnauthorizedResponse 未授权输出类

2.5 工具类

说明 备注
CryptoUtils 加密工具类
DateTimeUtils 日期时间工具类
RandomUtils 随机工具类
RegexUtils 正则工具类
RSAUtils RSA 工具类 非对称加密。

2.6 其他

说明 备注
BingoHaConsts 常量类
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 was computed.  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. 
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.4 155 7/13/2023
1.0.2 137 5/23/2023
1.0.1 139 5/14/2023
1.0.0 130 5/14/2023
0.4.8 157 7/13/2023
0.4.7 146 7/13/2023
0.4.6 157 7/13/2023
0.4.5 293 1/10/2023
0.4.4 256 1/10/2023
0.4.3 299 11/29/2022
0.4.2 316 11/28/2022
0.4.1 292 11/27/2022
0.4.0 310 11/27/2022
0.3.5 366 10/30/2022
0.3.4 354 10/30/2022
0.3.3 351 10/30/2022
0.3.2 351 10/29/2022
0.3.1 352 10/28/2022
0.2.2 424 8/19/2022
0.2.1 428 8/10/2022
0.2.0 419 7/21/2022
0.1.0 435 7/21/2022