LiteX.Cache.Redis 8.0.0

Distributed caching based on StackExchange.Redis and Redis.
     Small library for manage cache with Redis. A quick setup for Redis.
     Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Redis Cache integration with your system.
    
     LiteXCache is simple yet powerful and very high-performance cache mechanism and incorporating both synchronous and asynchronous usage with some advanced usages of caching which can help us to handle caching more easier!
     Provide Cache service for any type of application (.NET Core, .NET Standard).
     Very simple yet advanced configuration. Minimal (one line) code configuration is required.

Install-Package LiteX.Cache.Redis -Version 8.0.0
dotnet add package LiteX.Cache.Redis --version 8.0.0
<PackageReference Include="LiteX.Cache.Redis" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteX.Cache.Redis --version 8.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX Redis Cache

Distributed caching based on StackExchange.Redis and Redis.

This client library enables working with the Redis Cache for caching any type of data.

Small library to abstract caching mechanism to Redis Cache. Quick setup for Redis Cache and very simple wrapper for the Redis Cache.

Very simple configuration in advanced ways. Purpose of this package is to bring a new level of ease to the developers who deal with Redis Cache integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Cache.Redis
AppSettings
{  
  //LiteX Redis Cache settings
  "RedisConfig": {
    "RedisCachingConnectionString": "127.0.0.1:6379,ssl=False",
    "PersistDataProtectionKeysToRedis": false,
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'RedisConfig'
        services.AddLiteXRedisCache();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXRedisCache(option =>
        {
            option.RedisCachingConnectionString = "127.0.0.1:6379,ssl=False";
            option.EnableLogging = false;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var redisConfig = new RedisConfig()
        {
            RedisCachingConnectionString = "127.0.0.1:6379,ssl=False",
            EnableLogging = false,
        };
        services.AddLiteXRedisCache(redisConfig);
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Caching, Please click here.

LiteX Redis Cache

Distributed caching based on StackExchange.Redis and Redis.

This client library enables working with the Redis Cache for caching any type of data.

Small library to abstract caching mechanism to Redis Cache. Quick setup for Redis Cache and very simple wrapper for the Redis Cache.

Very simple configuration in advanced ways. Purpose of this package is to bring a new level of ease to the developers who deal with Redis Cache integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Cache.Redis
AppSettings
{  
  //LiteX Redis Cache settings
  "RedisConfig": {
    "RedisCachingConnectionString": "127.0.0.1:6379,ssl=False",
    "PersistDataProtectionKeysToRedis": false,
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'RedisConfig'
        services.AddLiteXRedisCache();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXRedisCache(option =>
        {
            option.RedisCachingConnectionString = "127.0.0.1:6379,ssl=False";
            option.EnableLogging = false;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var redisConfig = new RedisConfig()
        {
            RedisCachingConnectionString = "127.0.0.1:6379,ssl=False",
            EnableLogging = false,
        };
        services.AddLiteXRedisCache(redisConfig);
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Caching, Please click here.

Release Notes

Multiple provider support (using provider factory) - AddLiteXRedisCacheFactory
     Code re-factoring and optimization changes
     Update libraries to latest version

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
8.0.0 38 9/19/2019
7.0.3 1,539 1/31/2019
7.0.2 1,275 8/25/2018
7.0.1 169 8/9/2018
7.0.0 230 6/30/2018
6.2.0 274 6/23/2018
6.1.0 297 6/18/2018
6.0.0 280 6/2/2018
5.0.0 245 5/7/2018
4.0.0 340 5/4/2018
3.0.0 302 4/25/2018
2.0.0 274 4/22/2018
1.0.0 342 4/20/2018