RuoVea.ExConfig
8.0.0
dotnet add package RuoVea.ExConfig --version 8.0.0
NuGet\Install-Package RuoVea.ExConfig -Version 8.0.0
<PackageReference Include="RuoVea.ExConfig" Version="8.0.0" />
paket add RuoVea.ExConfig --version 8.0.0
#r "nuget: RuoVea.ExConfig, 8.0.0"
// Install RuoVea.ExConfig as a Cake Addin #addin nuget:?package=RuoVea.ExConfig&version=8.0.0 // Install RuoVea.ExConfig as a Cake Tool #tool nuget:?package=RuoVea.ExConfig&version=8.0.0
RuoVea.ExConfig
介绍
缓存帮助类库
使用方式一、
不需要注入直接使用
AppSettings.app("keyName");
使用方式二、
new AppSettings((IConfigurationBuilder)=>{ });
使用示例
直接使用
var getValue = RuoVea.ExConfig.AppSettings.GetValue("demo")
相关配置文件说明
获取自定义配置扫描目录 存放在如下任一文件夹
ConfigurationFiles
Configuration
Config
ScanDirectories
读取忽略的配置文件 存放在如下任一文件夹
IgnoreConfigurationFiles
IgnoreConfiguration
IgnoreConfig
IgnoreDirectories
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.Extensions.Configuration.Ini (>= 8.0.0)
- Microsoft.Extensions.Configuration.json (>= 8.0.0)
- Microsoft.Extensions.Configuration.Xml (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
- Microsoft.Extensions.FileProviders.Physical (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on RuoVea.ExConfig:
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.ExCache
Redis缓存 内存缓存 |
|
RuoVea.ExJwtBearer
Jwt 授权验证拓展插件。声名:IJwtHelper _jwtHelper,支持简体中文、繁体中文、粤语、日语、法语、英语. 添加验权:services.AddAuthenticationSetup(enableGlobalAuthorize: true); 添加鉴权:services.AddAuthorizationSetup.MyPermission.(enableGlobalAuthorize: true); 添加Jwt加密:services.AddJwtSetup(); |
|
RuoVea.ExWeb
CorsUrls、IPLimit、SafeIps、Jwt 配置 |
|
RuoVea.ExGlobal
web 注入 全局错误日志、操作日志记录 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 433 | 3/12/2024 |
7.0.0 | 514 | 3/12/2024 |
6.0.1.6 | 4,575 | 3/12/2024 |
6.0.1.5 | 123 | 3/12/2024 |
6.0.1.4 | 115 | 3/12/2024 |
6.0.1.3 | 584 | 1/26/2024 |
6.0.1.2 | 117 | 1/26/2024 |
6.0.1.1 | 724 | 11/19/2023 |
6.0.1 | 5,378 | 2/16/2022 |
6.0.0 | 4,622 | 2/9/2022 |
5.0.19.1 | 390 | 8/28/2024 |
5.0.19 | 817 | 3/22/2022 |
5.0.8 | 1,159 | 11/19/2021 |
5.0.7 | 2,455 | 11/5/2021 |
5.0.6 | 561 | 11/4/2021 |
5.0.5 | 1,752 | 10/1/2021 |
5.0.4 | 1,263 | 9/30/2021 |
5.0.2 | 1,408 | 9/27/2021 |
5.0.1 | 336 | 9/27/2021 |
5.0.0 | 475 | 9/26/2021 |