Carbon.Redis
2.9.0
dotnet add package Carbon.Redis --version 2.9.0
NuGet\Install-Package Carbon.Redis -Version 2.9.0
<PackageReference Include="Carbon.Redis" Version="2.9.0" />
paket add Carbon.Redis --version 2.9.0
#r "nuget: Carbon.Redis, 2.9.0"
// Install Carbon.Redis as a Cake Addin #addin nuget:?package=Carbon.Redis&version=2.9.0 // Install Carbon.Redis as a Cake Tool #tool nuget:?package=Carbon.Redis&version=2.9.0
2.9.0
Fix: Redis Sentinel support added correctly.
Feat: Degraded health status added for sentinel mode only.
2.8.1
Multi get async support.
2.8.0
Keys can be fetched in both binary and json formatter serialized, but can only be set in json formatter serialized to transform binary formatter serialized keys which is unsupported.
2.7.1
Added try-catch expression to prevent data loss when converting binary formatter to json formatter.
2.7.0
Main release
2.6.2-preview
Deleted try catch expression(unnecessary and don't preserve stack trace).
Replaced Obsolete method with suggested method.
2.6.0-preview
Enabling pub/sub is now optional, defaults to false
HashRemove and HashCounter supports added
2.5.0-preview
Multiple Sentinel and Redis Cluster support
More accurate healthcheck for any kind of server installation (Cluster, Sentinel, Basic)
StackExchange.Redis upgrade
2.4.0-preview
More extension methods added (Get a key from redis, if null set it via method and return)
2.3.0-preview
Numerous type of handy extension methods are added such as Hash, HashAsObject, Set
Use HashAsObject to store a complete object into hash fields for boosted performance (Only supports Json serialization), and able to get selected fields rather than the entire object
Use Set for relationships or etc.
2.1.3-preview
Carbon.Redis JSON binary serializer added on the top of binary formatter serializer which is unsupported as of dotnet 5. Simply use static method ICarbonCacheExtensions.SetSerializationType as desired serialization type which defaults to binaryformatter.
If you try to get binaryformatter serialized keys via json binary serializer from redis, you will receive default value (such as null). At that moment, remove the existing key, and add the new one with the new serializer, or use set to replace it.
System.Text.Json (faster) is used as master serializer/deserializer replacing Newtonsoft.Json. This may require to add [Serializable] tag over your objects, make sure you consider it!
2.0.0-preview
Enables you to use CarbonRedisCache Helper in your services to access more extended methods and capabilities (i.e. RedLock, Redis PubSub etc.) and make the legacy apis compatible with this package
Handle with care while using this Helper extension methods as it contains binaryformatters which are obsoleted as of dotnet 5, either allow this feature in your csproj or do not use dotnet 5 and greater
BinaryFormatters will migrate to JsonSerializers or other serializations at incoming versions
1.3.3
Added SSL/TLS connection support
1.2.0
Added health check.
1.0.9
- Redis Key Length Retrieval from Configuration, not from Redis as a Key
1.0.4
- Scan Keys And Remove By Pattern
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- FastMember (>= 1.5.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 2.1.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.1)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.11)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 6.0.11)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.17)
- System.Text.Json (>= 6.0.6)
-
net5.0
- FastMember (>= 1.5.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 2.1.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.1)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.11)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 6.0.11)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.17)
- System.Text.Json (>= 6.0.6)
-
net6.0
- FastMember (>= 1.5.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 6.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 2.1.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.1)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.11)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 6.0.11)
- RedLock.net (>= 2.3.2)
- StackExchange.Redis (>= 2.7.17)
- System.Text.Json (>= 6.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.9.0 | 1,835 | 2/14/2024 |
2.8.2 | 1,014 | 1/4/2024 |
2.8.1 | 888 | 12/28/2023 |
2.8.0 | 1,133 | 11/21/2023 |
2.7.1 | 1,183 | 11/3/2023 |
2.7.0 | 4,553 | 1/17/2023 |
2.6.2-preview | 1,429 | 12/22/2022 |
2.6.1-preview | 1,760 | 12/12/2022 |
2.6.0-preview | 2,000 | 12/6/2022 |
2.5.0-preview | 1,398 | 11/22/2022 |
2.4.0-preview | 1,445 | 11/18/2022 |
2.3.1-preview | 1,405 | 11/9/2022 |
2.3.0-preview | 1,323 | 11/3/2022 |
2.1.3-preview | 1,372 | 11/1/2022 |
2.0.0-preview | 1,498 | 10/27/2022 |
1.3.4 | 3,554 | 5/12/2022 |