RuoVea.ExUtil 6.0.3

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

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

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

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.0.1 206 12/1/2023
8.0.0 109 11/24/2023
7.0.0 70 7/23/2024
6.0.13.2 222 12/1/2023
6.0.13.1 629 11/23/2023
6.0.13 1,236 3/11/2023
6.0.12 1,165 9/30/2022
6.0.11 381 9/30/2022
6.0.10 348 9/30/2022
6.0.9 366 9/30/2022
6.0.7 349 9/30/2022
6.0.6 360 9/30/2022
6.0.5 968 9/14/2022
6.0.4 394 9/8/2022
6.0.3 381 8/24/2022
6.0.2 389 8/16/2022
6.0.0 3,704 2/9/2022
5.0.19 3,601 11/25/2021
5.0.18 418 11/22/2021
5.0.17 269 11/22/2021
5.0.16 660 11/19/2021
5.0.15 826 11/5/2021
5.0.13 766 11/3/2021
5.0.12 281 11/2/2021
5.0.11 336 11/1/2021
5.0.10 461 10/12/2021
5.0.9 304 10/6/2021
5.0.8 303 10/5/2021
5.0.7 1,057 9/30/2021
5.0.6 447 9/29/2021
5.0.5 293 9/29/2021
5.0.4 364 9/29/2021
5.0.3 352 9/28/2021
5.0.2 351 9/28/2021
5.0.1 399 9/27/2021
5.0.0 401 9/27/2021
2.1.1.1 100 11/24/2023