Gyeesoft.Module.Core 1.0.4
Gyeesoft.Module.Core
这是 Gyeesoft.Module.Core 项目描述,包含缓存。
使用缓存:需要增加默认配置modules.json增加 缓存配置
[
{
"id": "0",
"name": "Gyeesoft.Module.Core"
}
]
Redis支持缓存、分布式锁、redis消息。
if (cache.RedisCachingEnabled)
{
serviceCollection.AddSingleton<IRedisConnectionWrapper, RedisConnectionWrapper>()
.AddSingleton<ILocker, RedisConnectionWrapper>()
.AddSingleton<IRedisMQ, RedisConnectionWrapper>();
serviceCollection.AddSingleton<IRedisCacheManager, RedisCacheManager>();
}
安装
No packages depend on Gyeesoft.Module.Core.
基础功能组件
.NET 9.0
- Gyeesoft.Infrastructure (>= 1.0.14)
- Gyeesoft.Models (>= 1.0.2)
- AlibabaCloud.OSS.V2 (>= 0.1.2)
- AlibabaCloud.SDK.Sts20150401 (>= 1.1.6)
- NLog (>= 6.0.3)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.8.58)