Memstache.Distributed 1.0.0

dotnet add package Memstache.Distributed --version 1.0.0                
NuGet\Install-Package Memstache.Distributed -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Memstache.Distributed" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Memstache.Distributed --version 1.0.0                
#r "nuget: Memstache.Distributed, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Memstache.Distributed as a Cake Addin
#addin nuget:?package=Memstache.Distributed&version=1.0.0

// Install Memstache.Distributed as a Cake Tool
#tool nuget:?package=Memstache.Distributed&version=1.0.0                

MemStache.Distributed

MemStache.Distributed is a high-performance, feature-rich distributed caching library for .NET applications. It provides a robust and secure solution for managing distributed caches, offering seamless integration with popular technologies and a focus on developer productivity.

Features

  • Distributed Caching: Leverages Redis for high-performance data storage and retrieval across multiple application instances.
  • Secure Key Management: Integrates with Azure Key Vault and supports the Rebel Alliance KeyVault Secrets Emulator for local development.
  • Data Protection: Built-in encryption and compression capabilities.
  • Multi-tenancy Support: Efficient cache isolation for multi-tenant applications.
  • Flexible Serialization: Supports various serialization options.
  • Advanced Eviction Policies: Implements LRU, LFU, and time-based eviction strategies.
  • Performance Optimizations: Includes batch operations and memory-efficient byte array pooling.
  • Resilience and Error Handling: Implements circuit breaker and retry policies.
  • Telemetry and Logging: Integrates with popular logging and monitoring solutions.
  • Extensibility: Designed for easy customization and extension.

Documentation

For more detailed information, please refer to the following documentation:

Quick Start

  1. Install the NuGet package:

    dotnet add package MemStache.Distributed
    
  2. Configure MemStache in your Startup.cs or Program.cs:

    services.AddMemStacheDistributed(options =>
    {
        options.DistributedCacheProvider = "Redis";
        options.EnableCompression = true;
        options.EnableEncryption = true;
    });
    
  3. Inject and use IMemStacheDistributed in your classes:

    public class MyService
    {
        private readonly IMemStacheDistributed _cache;
    
        public MyService(IMemStacheDistributed cache)
        {
            _cache = cache;
        }
    
        public async Task<string> GetValueAsync(string key)
        {
            return await _cache.GetAsync<string>(key);
        }
    }
    

Contributing

We welcome contributions! Please see our Contributing Guidelines for more information on how to get started.

License

MemStache.Distributed is released under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions, please open an issue on our GitHub repository.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.0 71 9/19/2024