Diginsight.SmartCache 3.0.0-alpha.188

This is a prerelease version of Diginsight.SmartCache.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Diginsight.SmartCache --version 3.0.0-alpha.188                
NuGet\Install-Package Diginsight.SmartCache -Version 3.0.0-alpha.188                
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="Diginsight.SmartCache" Version="3.0.0-alpha.188" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Diginsight.SmartCache --version 3.0.0-alpha.188                
#r "nuget: Diginsight.SmartCache, 3.0.0-alpha.188"                
#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 Diginsight.SmartCache as a Cake Addin
#addin nuget:?package=Diginsight.SmartCache&version=3.0.0-alpha.188&prerelease

// Install Diginsight.SmartCache as a Cake Tool
#tool nuget:?package=Diginsight.SmartCache&version=3.0.0-alpha.188&prerelease                

INTRODUCTION

Common.SmartCache provides intelligent loading for data providers such as external api or databases. Age conscious data management is applied to cache or preload data automatically. AI assisted algorithms can be used to ensure data preloading, based on application use.

Articles:

  • [HOWTO - Leverage age conscious data management to boost application performance.md] (TODO): explores how to use Common.SmartCache to boost application performance by means age conscious data magagement.
  • [HOWTO - Enable data preloading by means of Artificial Intelligence.md] (TODO): explores how to enable AI assisted preloading to improve data preloading efficiency.

NB: Common.SmartCache is currently under development and use ov versions 0.x.x.x is not supported

STEPS TO USE SMARTCACHE:

  • add Common.SmartCache to your application

  • load your data by means of Common.SmartCache cacheService

public async Task<UserProfileResponse> GetUserByEmailAddressAsync(string emailAddress, CacheContext cacheContext)
{
    using var scope = logger.BeginMethodScope(() => new { emailAddress });

    var cacheKey = new GetUserByEmailAddressAsyncCacheKey(emailAddress);

    var result = await cacheService.GetAsync(
        cacheKey,
        () => wrapped.GetUserByEmailAddressAsyncAsync(emailAddress, MakeRequestOptions(scope)), cacheContext);

    return result;
}
  • load your data expressing the required age for it:
var cacheContext = new CacheContext() { Enabled = true, MaxAge = 300 }; 
var userProfile = await userProfileService.FindUserByEmailAddressAsync(context.Account.Email, cacheContext).ConfigureAwait(false);

Common.SmartCache will provide automatic caching based on payload size, retrieval latency etc. Common.SmartCache will support data preloading based on application use and age required for the loaded data.

Common.SmartCache component is supported on .Net Framework 4.6.2+ and .Net Core 3.0+.<br> For more information visi:. [smartcache]: https://github.com/diginsight/smartcache/

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 is compatible.  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 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. 
.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 was computed.  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 (3)

Showing the top 3 NuGet packages that depend on Diginsight.SmartCache:

Package Downloads
Diginsight.SmartCache.Externalization.ServiceBus

Package Description

Diginsight.SmartCache.Externalization.Http

Package Description

Diginsight.SmartCache.Externalization.Redis

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0.1 53 10/31/2024
3.1.0 205 10/11/2024
3.0.0-alpha.207 369 10/11/2024
3.0.0-alpha.206 180 10/4/2024
3.0.0-alpha.205 358 9/27/2024
3.0.0-alpha.203 123 9/13/2024
3.0.0-alpha.200 79 7/25/2024
3.0.0-alpha.199 1,035 7/9/2024
3.0.0-alpha.198 478 7/2/2024
3.0.0-alpha.195 237 6/24/2024
3.0.0-alpha.194 239 6/17/2024
3.0.0-alpha.193 104 6/13/2024
3.0.0-alpha.192 121 6/12/2024
3.0.0-alpha.191 49 6/11/2024
3.0.0-alpha.190 264 6/6/2024
3.0.0-alpha.189 70 6/5/2024
3.0.0-alpha.188 56 6/5/2024
3.0.0-alpha.187 41 5/31/2024
3.0.0-alpha.186 57 5/29/2024
3.0.0-alpha.185 316 5/24/2024
3.0.0-alpha.184 184 5/21/2024
3.0.0-alpha.181 47 5/14/2024
3.0.0-alpha.180 49 5/12/2024
3.0.0-alpha.178 55 5/8/2024
3.0.0-alpha.177 268 5/7/2024
3.0.0-alpha.176 88 5/6/2024
3.0.0-alpha.175 269 4/23/2024
3.0.0-alpha.174 49 4/18/2024
3.0.0-alpha.173 728 4/17/2024
3.0.0-alpha.172 49 4/16/2024
3.0.0-alpha.171 80 4/16/2024
3.0.0-alpha.170 51 4/15/2024
3.0.0-alpha.169 167 4/12/2024
3.0.0-alpha.168 57 4/11/2024
3.0.0-alpha.167 98 4/9/2024
3.0.0-alpha.166 53 4/9/2024
3.0.0-alpha.165 71 4/9/2024
3.0.0-alpha.164 55 4/9/2024
3.0.0-alpha.163 52 4/8/2024
3.0.0-alpha.162 91 4/5/2024
3.0.0-alpha.161 104 4/4/2024
3.0.0-alpha.160 62 4/4/2024
3.0.0-alpha.159 53 4/4/2024
3.0.0-alpha.158 49 4/3/2024
3.0.0-alpha.157 91 4/3/2024
3.0.0-alpha.156 190 3/27/2024
3.0.0-alpha.155 87 3/26/2024
3.0.0-alpha.154 125 3/22/2024
3.0.0-alpha.153 135 3/21/2024
3.0.0-alpha.152 72 3/21/2024
3.0.0-alpha.151 79 3/20/2024
3.0.0-alpha.150 70 3/20/2024
3.0.0-alpha.149 92 3/19/2024
3.0.0-alpha.148 95 3/19/2024
3.0.0-alpha.147 64 3/19/2024
3.0.0-alpha.146 56 3/19/2024
3.0.0-alpha.145 55 3/19/2024
3.0.0-alpha.144 60 3/19/2024
3.0.0-alpha.139 104 3/15/2024
3.0.0-alpha.138 56 3/15/2024
3.0.0-alpha.137 59 3/15/2024
3.0.0-alpha.136 54 3/13/2024
3.0.0-alpha.135 55 3/12/2024
3.0.0-alpha.134 60 3/11/2024
3.0.0-alpha.133 49 3/8/2024
3.0.0-alpha.132 52 3/7/2024
3.0.0-alpha.131 47 3/7/2024
3.0.0-alpha.130 62 3/5/2024
3.0.0-alpha.129 54 3/4/2024
3.0.0-alpha.128 54 3/4/2024
3.0.0-alpha.127 64 2/27/2024
3.0.0-alpha.126 56 2/8/2024
3.0.0-alpha.125 56 2/5/2024
3.0.0-alpha.124 58 2/5/2024
3.0.0-alpha.123 57 2/2/2024
3.0.0-alpha.122 62 1/17/2024
3.0.0-alpha.121 57 1/16/2024
3.0.0-alpha.120 60 1/12/2024
3.0.0-alpha.119 55 1/12/2024
3.0.0-alpha.118 60 1/12/2024
3.0.0-alpha.116 92 12/29/2023
3.0.0-alpha.115 67 12/29/2023
3.0.0-alpha.114 69 12/29/2023
3.0.0-alpha.110 154 10/29/2023
3.0.0-alpha.109 71 10/29/2023
3.0.0-alpha.9 62 11/7/2023
3.0.0-alpha.8 65 11/3/2023
3.0.0-alpha.7 67 11/3/2023
3.0.0-alpha.5 68 10/30/2023
3.0.0-alpha.2 72 10/29/2023