RuoVea.ExDto 8.0.0.1

dotnet add package RuoVea.ExDto --version 8.0.0.1
NuGet\Install-Package RuoVea.ExDto -Version 8.0.0.1
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="RuoVea.ExDto" Version="8.0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExDto --version 8.0.0.1
#r "nuget: RuoVea.ExDto, 8.0.0.1"
#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 RuoVea.ExDto as a Cake Addin
#addin nuget:?package=RuoVea.ExDto&version=8.0.0.1

// Install RuoVea.ExDto as a Cake Tool
#tool nuget:?package=RuoVea.ExDto&version=8.0.0.1

RuoVea.ExDto

介绍

缓存帮助类库

使用示例

注入实现 ICurrentUser 接口 实现获取用户上下文

注入实现 IRESTfulResult 接口 实现统一返回结果

用户登录基本信息
ClaimConst

PageParam
PageResult 

分页参数
Pagination

RESTful风格 接口响应数据
RestfulResult
 

 系统错误码
public enum ErrorEnum

业务枚举
public enum BusinessType

用户登录基本信息
public partial class ClaimConst

相关配置文件

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on RuoVea.ExDto:

Package Downloads
RuoVea.ExFilter

注入 进行全局的异常日志收集、执行操作日志、参数验证 services.ExceptionSetup();// 注入 全局错误日志处 services.ExceptionSetup(ExceptionLog actionOptions);// 注入 全局错误日志处 services.ExceptionSetup(builder.Configuration.GetSection("AopOption:ExceptionLog"));// 注入 全局错误日志处 services.RequestActionSetup();// 注入 请求日志拦截 [执行操作日志、参数验证 ] services.RequestActionSetup(RequestLog actionOptions);// 注入 请求日志拦截 [执行操作日志、参数验证 ] services.RequestActionSetup(builder.Configuration.GetSection("AopOption:RequestLog"));// 注入 请求日志拦截 [执行操作日志、参数验证 ] services.ResourceSetup();//对资源型信息进行过滤 services.ResultSetup();//对结果进行统一 services.ApISafeSetup(AppSign actionOptions);//接口安全校验 services.ApISafeSetup(builder.Configuration.GetSection("AopOption:AppSign"));//接口安全校验 services.ApISignSetup(AppSign actionOptions);//签名验证 ( appKey + signKey + timeStamp + data ); services.ApISignSetup(builder.Configuration.GetSection("AopOption:AppSign"));//签名验证 ( appKey + signKey + timeStamp + data ); services.AddValidateSetup();//模型校验 services.AddUiFilesZipSetup();//将前端UI压缩文件进行解压 不进行接口安全校验 -> NonAplSafeAttribute 不签名验证 -> NonAplSignAttribute 不进行全局的异常日志收集 -> NonExceptionAttribute 不对资源型信息进行过滤 -> NonResourceAttribute 不对结果进行统一 -> NonRestfulResultAttribute

RuoVea.ExWeb

CorsUrls、IPLimit、SafeIps、Jwt 配置

RuoVea.ExSugar

Sqlsugar扩展 快速注入 使用方式: service.AddSqlsugar();

RuoVea.ExGlobal

web 注入 全局错误日志、操作日志记录

RuoVea.ExJwtBearer

Jwt 授权验证拓展插件。声名:IJwtHelper _jwtHelper 添加验权:services.AddAuthenticationSetup(enableGlobalAuthorize: true); 添加鉴权:services.AddAuthorizationSetup.MyPermission.(enableGlobalAuthorize: true); 添加Jwt加密:services.AddJwtSetup();

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0.1 104 3/11/2024
8.0.0 214 11/24/2023
7.0.0 78 3/11/2024
6.0.11.1 325 3/11/2024
6.0.11 1,470 3/15/2023
6.0.10 302 3/12/2023
6.0.9 1,785 9/16/2022
6.0.8 392 9/16/2022
6.0.7 395 9/8/2022
6.0.6 410 8/18/2022
6.0.5 779 8/15/2022
6.0.4 1,004 3/10/2022
6.0.3 419 2/18/2022
6.0.2 417 2/16/2022
6.0.1 421 2/16/2022
6.0.0 2,014 2/9/2022
5.0.15 2,423 11/26/2021
5.0.14 2,253 11/26/2021
5.0.13 357 11/22/2021
5.0.12 278 11/22/2021
5.0.11 534 11/19/2021
5.0.10 293 11/8/2021
5.0.9 939 11/5/2021
5.0.8 420 11/3/2021
5.0.7 300 11/3/2021
5.0.6 304 11/2/2021
5.0.5 305 11/2/2021
5.0.4 357 11/1/2021
5.0.3 320 10/12/2021
5.0.2 629 9/30/2021
5.0.1 303 9/29/2021
5.0.0 496 9/27/2021