LiteX.Cache 7.0.3

LiteX Cache InMemory

LiteX.Cache is a InMemory caching based on on LiteX.Cache.Core and Microsoft.Extensions.Caching.Memory.
     Small library for manage cache with InMemory. A quick setup for InMemory Caching.
     Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with InMemory 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 -Version 7.0.3
dotnet add package LiteX.Cache --version 7.0.3
<PackageReference Include="LiteX.Cache" Version="7.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteX.Cache --version 7.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX InMemory Cache

LiteX.Cache is a InMemory caching based on on LiteX.Cache.Core and Microsoft.Extensions.Caching.Memory.

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

Small library to abstract caching mechanism to InMemory Cache. Quick setup for InMemory Cache and very simple wrapper for the InMemory 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 InMemory Cache integration with their system.

Note: When you use this library, it means that you will handle the memory of current server.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Cache
AppSettings
{  
  //LiteX InMemory Cache settings (Optional)
  "InMemoryConfig": {
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'InMemoryConfig'
        services.AddLiteXCache();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXCache(option =>
        {
            option.EnableLogging = false;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var inMemoryConfig = new InMemoryConfig()
        {
            EnableLogging = false,
        };
        services.AddLiteXCache(inMemoryConfig);
    }
}

Sample Usage Example

Same for all providers.

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

LiteX InMemory Cache

LiteX.Cache is a InMemory caching based on on LiteX.Cache.Core and Microsoft.Extensions.Caching.Memory.

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

Small library to abstract caching mechanism to InMemory Cache. Quick setup for InMemory Cache and very simple wrapper for the InMemory 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 InMemory Cache integration with their system.

Note: When you use this library, it means that you will handle the memory of current server.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Cache
AppSettings
{  
  //LiteX InMemory Cache settings (Optional)
  "InMemoryConfig": {
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'InMemoryConfig'
        services.AddLiteXCache();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXCache(option =>
        {
            option.EnableLogging = false;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var inMemoryConfig = new InMemoryConfig()
        {
            EnableLogging = false,
        };
        services.AddLiteXCache(inMemoryConfig);
    }
}

Sample Usage Example

Same for all providers.

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

Release Notes

Code re-factoring and optimization changes.

Version History

Version Downloads Last updated
7.0.3 713 1/31/2019
7.0.2 1,291 8/25/2018
7.0.1 157 8/9/2018
7.0.0 216 6/30/2018
6.2.0 168 6/23/2018
6.1.0 210 6/18/2018
6.0.0 306 6/2/2018
5.0.0 308 5/7/2018
4.0.1 315 5/4/2018
4.0.0 359 5/4/2018
3.0.0 310 4/25/2018
2.0.0 267 4/22/2018
1.0.0 340 4/20/2018