BingoHa.Shared
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BingoHa.Shared --version 1.0.2
NuGet\Install-Package BingoHa.Shared -Version 1.0.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="BingoHa.Shared" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BingoHa.Shared --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BingoHa.Shared, 1.0.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.
// Install BingoHa.Shared as a Cake Addin #addin nuget:?package=BingoHa.Shared&version=1.0.2 // Install BingoHa.Shared as a Cake Tool #tool nuget:?package=BingoHa.Shared&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BingoHa.Shared
1、包说明
BingoHa ABP共享模块。
版本号:v 1.0.2。
2、功能说明
2.1 常量相关
类 | 说明 |
---|---|
BingoHaConsts | 公共常量值。 |
2.2 枚举相关
类 | 说明 |
---|---|
PersonGender | 性别枚举。 |
2.3 扩展类
类 | 说明 |
---|---|
AuditingExtension | 审计扩展类。 |
CorsExtension | 跨域扩展类。 |
DatabaseExtension | 数据库扩展类。 |
FilterExtension | 过滤器扩展类。 |
LocalizationExtension | 本地化扩展类。 |
MultiTenancyExtension | 多租户扩展类。 |
RedisExtension | Redis扩展类。 |
SwaggerExtension | Swagger扩展类。 |
2.4 过滤器
类 | 说明 |
---|---|
ExceptionFilter | 异常过滤器。 |
2.5 帮助类
类 | 说明 |
---|---|
ActionResultHelper | ActionResult帮助类 |
ConfigHelper | 配置帮助类。 |
HostHelper | 主机帮助类。 |
2.6 输出类
类 | 说明 | 备注 |
---|---|---|
ActionResponse | 输出类。 | |
ResultResponse<TResult> | 结果输出类。 | 有结果输出。 |
ErrorResponse | 错误输出类。 | |
ForbiddenResponse | 禁止访问输出类。 | |
NotFoundResponse | 未找到输出类。 | |
UnauthorizedResponse | 未授权输出类。 |
输出类中包含状态码,可能值如下:
状态码的值 | 说明 |
---|---|
0 | 业务逻辑错误,未自定义状态码。 |
200 | 成功。 |
401 | 未授权。 |
403 | 禁止访问。 |
404 | 未找到资源。 |
500 | 系统抛出异常。 |
其他 | 自定义状态码。 |
2.7 工具类
类 | 说明 | 备注 |
---|---|---|
CryptoUtils | 加密工具类。 | 含 AES 对称加解密、MD5 消息摘要算法、SH1 哈希算法、SHA256 哈希算法。 |
DateTimeUtils | 日期时间工具类。 | |
EnumUtils | 枚举工具类。 | 获取枚举项列表,可用于生成下拉列表。 |
RandomUtils | 随机工具类。 | |
RegexUtils | 正则工具类。 |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- IdentityServer4.AccessTokenValidation (>= 3.0.1)
- Microsoft.AspNetCore.DataProtection.StackExchangeRedis (>= 7.0.5)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 7.0.5)
- nacos-sdk-csharp.Extensions.Configuration (>= 1.3.5)
- Newtonsoft.Json (>= 13.0.3)
- Serilog.Extensions.Hosting (>= 7.0.0)
- Serilog.Sinks.Console (>= 4.1.0)
- Serilog.Sinks.Elasticsearch (>= 9.0.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.5.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.5.0)
- Volo.Abp.AspNetCore.MultiTenancy (>= 7.2.2)
- Volo.Abp.AspNetCore.Mvc (>= 7.2.2)
- Volo.Abp.Autofac (>= 7.2.2)
- Volo.Abp.EntityFrameworkCore.SqlServer (>= 7.2.2)
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 | 197 | 7/13/2023 |
1.0.2 | 163 | 5/23/2023 |
1.0.1 | 172 | 5/14/2023 |
1.0.0 | 162 | 5/14/2023 |
0.4.8 | 192 | 7/13/2023 |
0.4.7 | 177 | 7/13/2023 |
0.4.6 | 183 | 7/13/2023 |
0.4.5 | 321 | 1/10/2023 |
0.4.4 | 284 | 1/10/2023 |
0.4.3 | 327 | 11/29/2022 |
0.4.2 | 351 | 11/28/2022 |
0.4.1 | 321 | 11/27/2022 |
0.4.0 | 340 | 11/27/2022 |
0.3.5 | 398 | 10/30/2022 |
0.3.4 | 386 | 10/30/2022 |
0.3.3 | 386 | 10/30/2022 |
0.3.2 | 388 | 10/29/2022 |
0.3.1 | 389 | 10/28/2022 |
0.2.2 | 457 | 8/19/2022 |
0.2.1 | 460 | 8/10/2022 |
0.2.0 | 450 | 7/21/2022 |
0.1.0 | 466 | 7/21/2022 |