BingoHa.Shared
1.0.4
dotnet add package BingoHa.Shared --version 1.0.4
NuGet\Install-Package BingoHa.Shared -Version 1.0.4
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.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BingoHa.Shared" Version="1.0.4" />
<PackageReference Include="BingoHa.Shared" />
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 BingoHa.Shared --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BingoHa.Shared, 1.0.4"
#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 BingoHa.Shared@1.0.4
#: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=BingoHa.Shared&version=1.0.4
#tool nuget:?package=BingoHa.Shared&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BingoHa.Shared
1、包说明
BingoHa ABP共享模块。
版本号:v 1.0.4。
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 | 枚举工具类。 | 获取枚举项列表,可用于生成下拉列表。 |
| PrinterUtils | 打印机工具类。 | |
| 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. 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.
-
net7.0
- IdentityServer4.AccessTokenValidation (>= 3.0.1)
- Microsoft.AspNetCore.DataProtection.StackExchangeRedis (>= 7.0.9)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 7.0.9)
- 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.3)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.5.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.5.0)
- Volo.Abp.AspNetCore.MultiTenancy (>= 7.3.0)
- Volo.Abp.AspNetCore.Mvc (>= 7.3.0)
- Volo.Abp.Autofac (>= 7.3.0)
- Volo.Abp.EntityFrameworkCore.SqlServer (>= 7.3.0)
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 | 316 | 7/13/2023 |
| 1.0.2 | 279 | 5/23/2023 |
| 1.0.1 | 293 | 5/14/2023 |
| 1.0.0 | 286 | 5/14/2023 |
| 0.4.8 | 305 | 7/13/2023 |
| 0.4.7 | 265 | 7/13/2023 |
| 0.4.6 | 284 | 7/13/2023 |
| 0.4.5 | 447 | 1/10/2023 |
| 0.4.4 | 400 | 1/10/2023 |
| 0.4.3 | 452 | 11/29/2022 |
| 0.4.2 | 481 | 11/28/2022 |
| 0.4.1 | 449 | 11/27/2022 |
| 0.4.0 | 469 | 11/27/2022 |
| 0.3.5 | 530 | 10/30/2022 |
| 0.3.4 | 515 | 10/30/2022 |
| 0.3.3 | 516 | 10/30/2022 |
| 0.3.2 | 526 | 10/29/2022 |
| 0.3.1 | 520 | 10/28/2022 |
| 0.2.2 | 581 | 8/19/2022 |
| 0.2.1 | 590 | 8/10/2022 |
Loading failed