X.Helper.Cache 1.0.2.1

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

// Install X.Helper.Cache as a Cake Tool
#tool nuget:?package=X.Helper.Cache&version=1.0.2.1                

X.Helper.Cache

Special Explanation

if you are plainning to need ServiceStackRedisHelper, you need to review following description In .NetFramework 4.6.1 referenced ServiceStack.Redis Version is 3.9.71 (the last free version) In .Net Standard 2.0/2.1 or .Net 6.0 referenced ServiceStack.Redis Version is 8.2.2. You may need to purchase a license for this version. Please go to https://servicestack.net for more details.

Config File

App.Config
	<appSettings>
		<add key="RedisServer" value="10.0.0.254"/>	
		<add key="RedisPort" value="6379"/>		
		<add key="RedisPassword" value=""/>		
	</appSettings>
appsettings.json
  "cache": {
    "redisserver": "10.0.0.254",	//SERVER IP ADDRESS
    "redisport": "6379",		//SERVER PORT
    "redispassword": ""			//ERVER PASSWORD
  }

General Configration

Config.DefaultTimeout = 20		//Minute
Config.DefaultDatabaseIndex = 0		//0-15

User ServiceExchange.Redis

//default database index uses the value from Config.DefaultDatabaseIndex 
ICachaHelper helper = new X.Helper.Cache.ServiceStackRedisHelper()
//use the specified database index
ICachaHelper helper = new X.Helper.Cache.ServiceStackRedisHelper(dbIndex)

Use ServiceStack.Redis

//default database index uses the value from Config.DefaultDatabaseIndex 
ICacheHelper helper = new X.Helper.Cache.StackExchangeRedisHelper()
//use the specified database index
ICachaHelper helper = new X.Helper.Cache.StackExchangeRedisHelper(dbIndex)

Switch database index

helper = helper.GetDatabase(dbIndex)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.2.1 78 6/13/2024
1.0.2 85 5/28/2024