RuoVea.ExConfig
5.0.19.1
See the version list below for details.
dotnet add package RuoVea.ExConfig --version 5.0.19.1
NuGet\Install-Package RuoVea.ExConfig -Version 5.0.19.1
<PackageReference Include="RuoVea.ExConfig" Version="5.0.19.1" />
paket add RuoVea.ExConfig --version 5.0.19.1
#r "nuget: RuoVea.ExConfig, 5.0.19.1"
// Install RuoVea.ExConfig as a Cake Addin #addin nuget:?package=RuoVea.ExConfig&version=5.0.19.1 // Install RuoVea.ExConfig as a Cake Tool #tool nuget:?package=RuoVea.ExConfig&version=5.0.19.1
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 | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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. |
-
net5.0
- Microsoft.Extensions.Configuration.Ini (>= 6.0.0)
- Microsoft.Extensions.Configuration.json (>= 6.0.0)
- Microsoft.Extensions.Configuration.Xml (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.FileProviders.Physical (>= 6.0.0)
- Microsoft.Extensions.Options (>= 6.0.0)
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.ExJwtBearer
Jwt 授权验证拓展插件。声名:IJwtHelper _jwtHelper,支持简体中文、繁体中文、粤语、日语、法语、英语. 添加验权:services.AddAuthenticationSetup(enableGlobalAuthorize: true); 添加鉴权:services.AddAuthorizationSetup.MyPermission.(enableGlobalAuthorize: true); 添加Jwt加密:services.AddJwtSetup(); |
|
RuoVea.ExCache
Redis缓存 内存缓存 |
|
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 | 376 | 3/12/2024 |
7.0.0 | 490 | 3/12/2024 |
6.0.1.6 | 2,911 | 3/12/2024 |
6.0.1.5 | 116 | 3/12/2024 |
6.0.1.4 | 108 | 3/12/2024 |
6.0.1.3 | 576 | 1/26/2024 |
6.0.1.2 | 108 | 1/26/2024 |
6.0.1.1 | 708 | 11/19/2023 |
6.0.1 | 5,369 | 2/16/2022 |
6.0.0 | 4,613 | 2/9/2022 |
5.0.19.1 | 358 | 8/28/2024 |
5.0.19 | 808 | 3/22/2022 |
5.0.8 | 1,150 | 11/19/2021 |
5.0.7 | 2,445 | 11/5/2021 |
5.0.6 | 552 | 11/4/2021 |
5.0.5 | 1,743 | 10/1/2021 |
5.0.4 | 1,254 | 9/30/2021 |
5.0.2 | 1,399 | 9/27/2021 |
5.0.1 | 327 | 9/27/2021 |
5.0.0 | 466 | 9/26/2021 |