RuoVea.ExUtil 6.0.4

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

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

RuoVea.ExCache

介绍
Appsettings、Common、OrderNum  生成 Salt 盐、枚举扩展属性 EnumExtension、
链接错误: ConnctionException、参数错误处理 ParamiterException 、异常信息扩展 ExceptionEx、异常信息封装类 ExceptionMessage
Extensions: 类型转换扩展、日期时间扩展、json序列反序列化、可空类型、验证扩展、Linq扩展
Const: 汉字及拼音首字母、常用简体汉字、字符串工具方法
时间操作: Time、UnixTime
Validate:邮箱、时间、电话、身份证、手机、最大长度、数值、不可空、网址、微信
xml文件操作
使用示例
Stopwatch计时器

计时器开始
Stopwatch stopwatch = TimerStart();
计时器结束
double milliseconds=TimerEnd(stopwatch);

#region 删除数组中的重复项
public static string[] RemoveDup(string[] values)

生成雪花 数值型 Id
long id = OrderNum.Id;

string id = NextId("demo");
相关配置文件

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 (6)

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

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.ExSugar

Sqlsugar扩展 快速注入,支持简体中文、繁体中文、粤语、日语、法语、英语.使用方式:service.AddSqlsugar();继承RestFulLog 重写异常日志,操作日志,差异日志

RuoVea.ExWeb

CorsUrls、IPLimit、SafeIps、Jwt 配置

RuoVea.ExGlobal

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

PBKDF2.Key

PBKDF2(Password-Based Key Derivation Function)是一个用来导出密钥的函数,常用于生成加密的密码。它的基本原理是通过一个伪随机函数(例如HMAC函数),把明文和一个盐值作为输入参数,然后重复进行运算,并最终产生密钥。如果重复的次数足够大,破解的成本就会变得很高。而盐值的添加也会增加“彩虹表”攻击的难度。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.1.1 130 10/31/2024
8.0.1 209 8/28/2024
8.0.0.1 294 12/1/2023
8.0.0 140 11/24/2023
7.0.1.1 109 10/31/2024
7.0.1 274 8/28/2024
7.0.0 186 7/23/2024
6.0.14.1 1,600 10/31/2024
6.0.14 1,512 8/28/2024
6.0.13.2 452 12/1/2023
6.0.13.1 719 11/23/2023
6.0.13 1,444 3/11/2023
6.0.12 1,259 9/30/2022
6.0.11 412 9/30/2022
6.0.10 379 9/30/2022
6.0.9 402 9/30/2022
6.0.7 378 9/30/2022
6.0.6 393 9/30/2022
6.0.5 1,031 9/14/2022
6.0.4 422 9/8/2022
6.0.3 409 8/24/2022
6.0.2 416 8/16/2022
6.0.0 3,868 2/9/2022
5.0.20.1 139 11/1/2024
5.0.20 224 8/28/2024
5.0.19.1 276 8/8/2024
5.0.19 3,680 11/25/2021
5.0.18 465 11/22/2021
5.0.17 308 11/22/2021
5.0.16 729 11/19/2021
5.0.15 903 11/5/2021
5.0.13 838 11/3/2021
5.0.12 317 11/2/2021
5.0.11 364 11/1/2021
5.0.10 521 10/12/2021
5.0.9 336 10/6/2021
5.0.8 338 10/5/2021
5.0.7 1,160 9/30/2021
5.0.6 487 9/29/2021
5.0.5 318 9/29/2021
5.0.4 394 9/29/2021
5.0.3 377 9/28/2021
5.0.2 381 9/28/2021
5.0.1 440 9/27/2021
5.0.0 437 9/27/2021
2.1.2.1 70 11/1/2024
2.1.2 102 8/28/2024
2.1.1.1 139 11/24/2023
2.0.0.1 72 11/1/2024
2.0.0 94 9/22/2024