Yyt.Abp.RedisTool
1.0.2
dotnet add package Yyt.Abp.RedisTool --version 1.0.2
NuGet\Install-Package Yyt.Abp.RedisTool -Version 1.0.2
<PackageReference Include="Yyt.Abp.RedisTool" Version="1.0.2" />
<PackageVersion Include="Yyt.Abp.RedisTool" Version="1.0.2" />
<PackageReference Include="Yyt.Abp.RedisTool" />
paket add Yyt.Abp.RedisTool --version 1.0.2
#r "nuget: Yyt.Abp.RedisTool, 1.0.2"
#:package Yyt.Abp.RedisTool@1.0.2
#addin nuget:?package=Yyt.Abp.RedisTool&version=1.0.2
#tool nuget:?package=Yyt.Abp.RedisTool&version=1.0.2
Yyt.Abp.RedisTool
English Version
Overview
Yyt.Abp.RedisTool is a library that encapsulates both basic and advanced custom operations for Redis in .NET applications,Version 1.0.2 added support for net8. Built with a modular architecture, it integrates seamlessly into your existing projects. Supported by Patrick.Z, this library streamlines repetitive daily development configurations in .NET applications and takes the heavy lifting off your shoulders.
Why Choose Yyt.Abp.RedisTool?
- Minimal Dependencies: Lightweight design with minimal external dependencies, keeping your project lean and efficient.
- Secure by Design: Security is prioritized from the design phase to reduce potential vulnerabilities.
- Highly Extensible: Easy to extend and customize to meet your specific business requirements.
- Battle-Tested: Proven stable and reliable through validation in multiple production projects.
Code Integration Example
namespace Demo.HttpApi.Host
{
[DependsOn(
typeof(VoloRedisToolModule)
)]
public class DemoHttpApiHostModule : AbpModule
{
// config service & other
}
}
Configuration Example
appsettings.json:
{
"Redis": {
"Configuration": "127.0.0.1:6379,password="
}
}
Code Invocation Example
var count = await RedisHelper.RedisCache.ListLengthAsync("rediskey");
Chinese Version
概述
Yyt.Abp.RedisTool 封装了对 Redis 的基本操作和高级自定义操作,Version 1.0.2 增加了对net8的支持。代码采用了 Module 模块化设计,能无缝集成到项目中。该库由 Patrick.Z 提供支持,简化了 .Net 应用程序中的日常开发配置工作,为您分担繁重的工作。
为什么选择 Yyt.Abp.RedisTool?
- 极少依赖:轻量级设计,外部依赖少,保持项目精简高效
- 设计安全:从设计阶段就优先考虑安全性,减少潜在漏洞
- 可扩展定制:易于扩展和定制,满足特定业务需求
- 久经沙场:经过多个生产项目验证,稳定可靠
代码模块集成示例
namespace Demo.HttpApi.Host
{
[DependsOn(
typeof(VoloRedisToolModule)
)]
public class DemoHttpApiHostModule : AbpModule
{
// config service & other
}
}
配置示例
appsettings.json:
{
"Redis": {
"Configuration": "127.0.0.1:6379,password="
}
}
代码调用示例
var count = await RedisHelper.RedisCache.ListLengthAsync("rediskey");
Document Version: v1.0
Created Date: June 2026
Author: Patrick.Z
| Product | Versions 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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.2)
- StackExchange.Redis (>= 2.6.122)
- Volo.Abp.AspNetCore (>= 6.0.2)
- Volo.Abp.Ddd.Domain (>= 6.0.2)
-
net8.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.0)
- StackExchange.Redis (>= 2.8.22)
- Volo.Abp.AspNetCore (>= 8.0.0)
- Volo.Abp.Ddd.Domain (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Yyt.Abp.RedisTool:
| Package | Downloads |
|---|---|
|
Yyt.Abp.HwSdk
It is a library that provides the functionality to simplify the integration of SDC camera devices and LVS video storage devices in the HWSdk protocol for .NET applications,Version 1.0.2 added support for net8. Built with a modular architecture, it enables seamless integration into your existing projects. Maintained and supported by Patrick.Z, it streamlines routine development configurations in .NET applications and takes over heavy, tedious workloads for you. |
GitHub repositories
This package is not used by any popular GitHub repositories.