RuoVea.ExUtil 6.0.5

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

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

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 88 10/31/2024
8.0.1 204 8/28/2024
8.0.0.1 287 12/1/2023
8.0.0 135 11/24/2023
7.0.1.1 85 10/31/2024
7.0.1 269 8/28/2024
7.0.0 181 7/23/2024
6.0.14.1 1,259 10/31/2024
6.0.14 1,506 8/28/2024
6.0.13.2 446 12/1/2023
6.0.13.1 711 11/23/2023
6.0.13 1,438 3/11/2023
6.0.12 1,254 9/30/2022
6.0.11 407 9/30/2022
6.0.10 374 9/30/2022
6.0.9 397 9/30/2022
6.0.7 371 9/30/2022
6.0.6 388 9/30/2022
6.0.5 1,026 9/14/2022
6.0.4 417 9/8/2022
6.0.3 404 8/24/2022
6.0.2 411 8/16/2022
6.0.0 3,863 2/9/2022
5.0.20.1 106 11/1/2024
5.0.20 219 8/28/2024
5.0.19.1 271 8/8/2024
5.0.19 3,675 11/25/2021
5.0.18 460 11/22/2021
5.0.17 303 11/22/2021
5.0.16 724 11/19/2021
5.0.15 898 11/5/2021
5.0.13 831 11/3/2021
5.0.12 312 11/2/2021
5.0.11 359 11/1/2021
5.0.10 516 10/12/2021
5.0.9 331 10/6/2021
5.0.8 333 10/5/2021
5.0.7 1,155 9/30/2021
5.0.6 482 9/29/2021
5.0.5 313 9/29/2021
5.0.4 389 9/29/2021
5.0.3 372 9/28/2021
5.0.2 376 9/28/2021
5.0.1 435 9/27/2021
5.0.0 432 9/27/2021
2.1.2.1 59 11/1/2024
2.1.2 97 8/28/2024
2.1.1.1 134 11/24/2023
2.0.0.1 61 11/1/2024
2.0.0 89 9/22/2024