RuoVea.ExFilter
6.0.18.3
See the version list below for details.
dotnet add package RuoVea.ExFilter --version 6.0.18.3
NuGet\Install-Package RuoVea.ExFilter -Version 6.0.18.3
<PackageReference Include="RuoVea.ExFilter" Version="6.0.18.3" />
paket add RuoVea.ExFilter --version 6.0.18.3
#r "nuget: RuoVea.ExFilter, 6.0.18.3"
// Install RuoVea.ExFilter as a Cake Addin #addin nuget:?package=RuoVea.ExFilter&version=6.0.18.3 // Install RuoVea.ExFilter as a Cake Tool #tool nuget:?package=RuoVea.ExFilter&version=6.0.18.3
RuoVea.ExFilter
介绍
注入 进行全局的异常日志收集、执行操作日志、参数验证、对资源型信息进行过滤、对结果进行统一、接口安全校验、签名验证 MD5 ( appKey + signKey + timeStamp + data );
使用示例
注入 进行全局的异常日志收集、执行操作日志、参数验证
services.Exception();// 注入 全局错误日志
services.Exception(ExceptionLog actionOptions);// 注入 全局错误日志
services.Exception(builder.Configuration.GetSection("AopOption:ExceptionLog"));// 注入 全局错误日志
services.RequestAction();// 注入 请求日志拦截 [执行操作日志、参数验证 ]
services.RequestAction(RequestLog actionOptions);// 注入 请求日志拦截 [执行操作日志、参数验证 ]
services.RequestAction(builder.Configuration.GetSection("AopOption:RequestLog"));// 注入 请求日志拦截 [执行操作日志、参数验证 ]
services.Resource();//对资源型信息进行过滤
services.Result();//对结果进行统一
services.ApISafe(AppSign actionOptions);//接口安全校验
services.ApISafe(builder.Configuration.GetSection("AopOption:AppSign"));//接口安全校验
services.ApISign(AppSign actionOptions);//签名验证 ( appKey + signKey + timeStamp + data );
services.ApISign(builder.Configuration.GetSection("AopOption:AppSign"));//签名验证 ( appKey + signKey + timeStamp + data );
继承重写IRestfulFilterLog 方法
相关配置文件
/* 配置 */
"AopOption": {
"RequestLog": {
"Enabled": true,
"LogToFile": false, //记录到文件
"LogMore": false, //记录更多内容 如写入数据库 需继承重写 IRestfulFilterLog
"IgnoreApis": ""
},
"ExceptionLog": {
"Enabled": true,
"LogToFile": false,
"LogMore": false
},
"AppSign": {
"AppKeys": "",
"AppKeyName": "",
"TimeStampName": "",
"ExpiresMinute": 2, //分钟
"SignKey": "", //签名key
"SignatureName": "signature", //签名
"IgnoreApi": "" //签名验证忽略api列表
}
},
Product | Versions 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. |
-
net6.0
- RuoVea.ExApp (>= 6.0.5)
- RuoVea.ExConfig (>= 6.0.1.3)
- RuoVea.ExCrypt (>= 6.0.2.1)
- RuoVea.ExDto (>= 6.0.11)
- RuoVea.ExLog (>= 6.0.1)
- RuoVea.ExUtil (>= 6.0.13.1)
- UAParser (>= 3.1.47)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on RuoVea.ExFilter:
Package | Downloads |
---|---|
RuoVea.OmiConfig
参数配置 |
|
RuoVea.OmiLog
日志管理 |
|
RuoVea.OmiApi.UserRoleMenu
用户、角色、菜单管理 API |
|
RuoVea.OmiApi.User
用户管理 API |
|
RuoVea.OmiDict
字典管理 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.1.4 | 88 | 11/21/2024 |
8.0.1.3 | 96 | 11/1/2024 |
8.0.1.2 | 84 | 9/22/2024 |
8.0.1.1 | 95 | 9/18/2024 |
8.0.1 | 98 | 8/28/2024 |
8.0.0 | 77 | 7/23/2024 |
7.0.1.4 | 88 | 11/21/2024 |
7.0.1.3 | 71 | 11/1/2024 |
7.0.1.2 | 96 | 9/22/2024 |
7.0.1.1 | 92 | 9/18/2024 |
7.0.1 | 90 | 8/28/2024 |
7.0.0 | 74 | 7/23/2024 |
6.0.19.4 | 347 | 11/21/2024 |
6.0.19.3 | 917 | 11/1/2024 |
6.0.19.2 | 1,207 | 9/22/2024 |
6.0.19.1 | 108 | 9/18/2024 |
6.0.19 | 92 | 8/28/2024 |
6.0.18.13 | 151 | 8/25/2024 |
6.0.18.12 | 144 | 4/15/2024 |
6.0.18.11 | 137 | 4/14/2024 |
6.0.18.10 | 162 | 3/13/2024 |
6.0.18.9 | 177 | 3/13/2024 |
6.0.18.8 | 165 | 3/11/2024 |
6.0.18.7 | 211 | 2/28/2024 |
6.0.18.6 | 182 | 2/27/2024 |
6.0.18.5 | 253 | 1/29/2024 |
6.0.18.4 | 260 | 1/27/2024 |
6.0.18.3 | 222 | 1/26/2024 |
6.0.18.2 | 336 | 12/28/2023 |
6.0.18.1 | 311 | 12/1/2023 |
6.0.18 | 312 | 9/27/2023 |
6.0.17 | 311 | 9/16/2023 |
6.0.16 | 425 | 3/26/2023 |
6.0.15 | 408 | 3/26/2023 |
6.0.13 | 438 | 3/11/2023 |
6.0.12 | 485 | 12/23/2022 |
6.0.11 | 425 | 12/23/2022 |
6.0.10 | 562 | 10/8/2022 |
6.0.9 | 622 | 9/16/2022 |
6.0.8 | 598 | 8/18/2022 |
6.0.7 | 590 | 6/10/2022 |
6.0.6 | 641 | 3/15/2022 |
6.0.5 | 627 | 3/14/2022 |
6.0.4 | 624 | 2/18/2022 |
6.0.3 | 568 | 2/18/2022 |
6.0.2 | 613 | 2/17/2022 |
6.0.1 | 640 | 2/15/2022 |
6.0.0 | 650 | 2/11/2022 |
5.0.0.3 | 76 | 11/21/2024 |
5.0.0.2 | 78 | 11/1/2024 |
5.0.0.1 | 89 | 9/22/2024 |
5.0.0 | 90 | 9/18/2024 |