RuoVea.ExUtil 6.0.2

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

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

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 128 10/31/2024
8.0.1 207 8/28/2024
8.0.0.1 292 12/1/2023
8.0.0 138 11/24/2023
7.0.1.1 107 10/31/2024
7.0.1 272 8/28/2024
7.0.0 184 7/23/2024
6.0.14.1 1,493 10/31/2024
6.0.14 1,510 8/28/2024
6.0.13.2 450 12/1/2023
6.0.13.1 717 11/23/2023
6.0.13 1,442 3/11/2023
6.0.12 1,257 9/30/2022
6.0.11 410 9/30/2022
6.0.10 377 9/30/2022
6.0.9 400 9/30/2022
6.0.7 376 9/30/2022
6.0.6 391 9/30/2022
6.0.5 1,029 9/14/2022
6.0.4 420 9/8/2022
6.0.3 407 8/24/2022
6.0.2 414 8/16/2022
6.0.0 3,866 2/9/2022
5.0.20.1 135 11/1/2024
5.0.20 222 8/28/2024
5.0.19.1 274 8/8/2024
5.0.19 3,678 11/25/2021
5.0.18 463 11/22/2021
5.0.17 306 11/22/2021
5.0.16 727 11/19/2021
5.0.15 901 11/5/2021
5.0.13 836 11/3/2021
5.0.12 315 11/2/2021
5.0.11 362 11/1/2021
5.0.10 519 10/12/2021
5.0.9 334 10/6/2021
5.0.8 336 10/5/2021
5.0.7 1,158 9/30/2021
5.0.6 485 9/29/2021
5.0.5 316 9/29/2021
5.0.4 392 9/29/2021
5.0.3 375 9/28/2021
5.0.2 379 9/28/2021
5.0.1 438 9/27/2021
5.0.0 435 9/27/2021
2.1.2.1 66 11/1/2024
2.1.2 100 8/28/2024
2.1.1.1 137 11/24/2023
2.0.0.1 68 11/1/2024
2.0.0 92 9/22/2024