LiteCache.Tizen
0.2.0
dotnet add package LiteCache.Tizen --version 0.2.0
NuGet\Install-Package LiteCache.Tizen -Version 0.2.0
<PackageReference Include="LiteCache.Tizen" Version="0.2.0" />
paket add LiteCache.Tizen --version 0.2.0
#r "nuget: LiteCache.Tizen, 0.2.0"
// Install LiteCache.Tizen as a Cake Addin
#addin nuget:?package=LiteCache.Tizen&version=0.2.0
// Install LiteCache.Tizen as a Cake Tool
#tool nuget:?package=LiteCache.Tizen&version=0.2.0
LiteCache.Tizen
Easely cache any data structure for specific amount of time in Tizen.NET app, which powered by LiteDB.
Setup
Install LiteCache.Tizen package on your Tizen.NET project.
It's required to set a cache directory for your application, which will create specific folder with the application on disk. This can be done by assign value to static string on Cotton before calling other Cotton method:
Cotton.CacheDirectory = "Your cache directory";
e.g:
Cotton.CacheDirectory = Current.DirectoryInfo.Cache;
Encryption
LiteDB offers built in encryption support (https://github.com/mbdavid/LiteDB/wiki/Connection-String), which can be enabled with a static string on Barrel before calling ANY method. You must choose this up front before saving any data.
Cotton.EncryptionKey = "Your encryption key";
And you ready to cache any data structure.
Version history
0.2.0
- Add function to read any existing key that stored on disk, both active or expired
0.1.0
- Create, Read, Delete cache data with key to storage
- Check if key is expired
- Check if key is exist
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- LiteDB (>= 4.1.4)
- Newtonsoft.Json (>= 11.0.2)
- Tizen.NET (>= 4.0.0)
- Tizen.NET.Sdk (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.