MemcachedTiny.DistributedCache 1.1.1

dotnet add package MemcachedTiny.DistributedCache --version 1.1.1                
NuGet\Install-Package MemcachedTiny.DistributedCache -Version 1.1.1                
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="MemcachedTiny.DistributedCache" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MemcachedTiny.DistributedCache --version 1.1.1                
#r "nuget: MemcachedTiny.DistributedCache, 1.1.1"                
#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 MemcachedTiny.DistributedCache as a Cake Addin
#addin nuget:?package=MemcachedTiny.DistributedCache&version=1.1.1

// Install MemcachedTiny.DistributedCache as a Cake Tool
#tool nuget:?package=MemcachedTiny.DistributedCache&version=1.1.1                

MemcachedTiny.DistributedCache

基于 MemcachedTinyIDistributedCache 接口实现。

Implementation of IDistributedCache Interface Based on MemcachedTiny


Copyright (C) 2023 lchfj.cn

MemcachedTiny.DistributedCache is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

MemcachedTiny.DistributedCache is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with MemcachedTiny.DistributedCache. If not, see https://www.gnu.org/licenses/.


配置项

appsettings.json (可不配置,与下方配置等效)

更多配置项参见:MemcachedTiny.DistributedCache.MemcachedOption

{
  "MemcacheTiny": {
    "Connect": [ "127.0.0.1:11211" ]
  }
}

Program.cs

public class Program
{
    public static void Main(string[] args)
    {
        var builder = Host.CreateDefaultBuilder(args);

        builder.Services.AddMemcacheTiny();

        var app = builder.Build();

        app.Run();
    }
}
Product 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 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.  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. 
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.1.1 166 6/4/2023
1.0.0 158 4/28/2023

数据压缩修改:
1、增加条件压缩的配置支持
2、是否启用压缩的配置项由 DisabledCompress 改为 CompressDisabled。
3、解决未启用压缩时出现错误