Common.SmartCache
0.9.0.131
See the version list below for details.
dotnet add package Common.SmartCache --version 0.9.0.131
NuGet\Install-Package Common.SmartCache -Version 0.9.0.131
<PackageReference Include="Common.SmartCache" Version="0.9.0.131" />
paket add Common.SmartCache --version 0.9.0.131
#r "nuget: Common.SmartCache, 0.9.0.131"
// Install Common.SmartCache as a Cake Addin #addin nuget:?package=Common.SmartCache&version=0.9.0.131 // Install Common.SmartCache as a Cake Tool #tool nuget:?package=Common.SmartCache&version=0.9.0.131
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 | Versions 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 was computed. |
.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. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Microsoft.Extensions.Configuration.UserSecrets (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Console (>= 5.0.0)
- System.Net.Http.Json (>= 5.0.0)
- System.Text.Json (>= 5.0.1)
-
net6.0
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 5.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 5.0.0)
- Microsoft.Extensions.Configuration.Json (>= 5.0.0)
- Microsoft.Extensions.Configuration.UserSecrets (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Console (>= 5.0.0)
- System.Net.Http.Json (>= 5.0.0)
- System.Text.Json (>= 5.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.
Version | Downloads | Last updated | |
---|---|---|---|
0.9.0.255 | 420 | 2/7/2024 | |
0.9.0.254 | 498 | 10/23/2023 | |
0.9.0.253 | 522 | 10/13/2023 | |
0.9.0.251 | 510 | 10/1/2023 | |
0.9.0.250 | 499 | 10/1/2023 | |
0.9.0.249 | 499 | 9/3/2023 | |
0.9.0.248 | 471 | 8/30/2023 | |
0.9.0.247 | 523 | 8/30/2023 | |
0.9.0.246 | 484 | 8/30/2023 | |
0.9.0.243 | 526 | 8/30/2023 | |
0.9.0.242 | 458 | 8/30/2023 | |
0.9.0.241 | 498 | 8/30/2023 | |
0.9.0.239 | 504 | 8/30/2023 | |
0.9.0.238 | 510 | 8/29/2023 | |
0.9.0.237 | 492 | 8/29/2023 | |
0.9.0.236 | 503 | 8/29/2023 | |
0.9.0.235 | 507 | 8/29/2023 | |
0.9.0.234 | 514 | 8/29/2023 | |
0.9.0.229 | 534 | 8/28/2023 | |
0.9.0.228 | 521 | 8/28/2023 | |
0.9.0.227 | 514 | 8/28/2023 | |
0.9.0.226 | 490 | 8/28/2023 | |
0.9.0.225 | 545 | 8/23/2023 | |
0.9.0.224 | 518 | 8/23/2023 | |
0.9.0.223 | 544 | 8/20/2023 | |
0.9.0.222 | 511 | 8/20/2023 | |
0.9.0.221 | 509 | 8/20/2023 | |
0.9.0.213 | 546 | 8/19/2023 | |
0.9.0.212 | 548 | 8/19/2023 | |
0.9.0.211 | 543 | 8/19/2023 | |
0.9.0.210 | 514 | 8/19/2023 | |
0.9.0.209 | 491 | 8/19/2023 | |
0.9.0.208 | 504 | 8/19/2023 | |
0.9.0.207 | 497 | 8/18/2023 | |
0.9.0.206 | 503 | 8/17/2023 | |
0.9.0.205 | 523 | 8/16/2023 | |
0.9.0.204 | 515 | 8/16/2023 | |
0.9.0.203 | 521 | 8/16/2023 | |
0.9.0.202 | 513 | 8/16/2023 | |
0.9.0.201 | 503 | 8/16/2023 | |
0.9.0.200 | 501 | 8/16/2023 | |
0.9.0.199 | 539 | 8/15/2023 | |
0.9.0.198 | 496 | 8/15/2023 | |
0.9.0.197 | 483 | 8/15/2023 | |
0.9.0.196 | 521 | 8/15/2023 | |
0.9.0.195 | 508 | 8/15/2023 | |
0.9.0.194 | 505 | 8/15/2023 | |
0.9.0.193 | 517 | 8/15/2023 | |
0.9.0.192 | 523 | 8/15/2023 | |
0.9.0.191 | 546 | 8/15/2023 | |
0.9.0.190 | 500 | 8/15/2023 | |
0.9.0.184 | 516 | 8/15/2023 | |
0.9.0.170 | 515 | 8/15/2023 | |
0.9.0.169 | 536 | 8/15/2023 | |
0.9.0.166 | 548 | 8/15/2023 | |
0.9.0.164 | 536 | 8/15/2023 | |
0.9.0.149 | 534 | 8/13/2023 | |
0.9.0.148 | 524 | 8/13/2023 | |
0.9.0.146 | 543 | 8/13/2023 | |
0.9.0.144 | 503 | 8/13/2023 | |
0.9.0.143 | 540 | 8/13/2023 | |
0.9.0.142 | 522 | 8/13/2023 | |
0.9.0.139 | 540 | 8/13/2023 | |
0.9.0.136 | 516 | 8/12/2023 | |
0.9.0.131 | 507 | 8/12/2023 | |
0.9.0.130 | 510 | 8/12/2023 | |
0.9.0.123 | 553 | 8/12/2023 | |
0.9.0.122 | 495 | 8/12/2023 | |
0.9.0.121 | 502 | 8/12/2023 | |
0.9.0.111 | 530 | 8/11/2023 | |
0.9.0.110 | 536 | 8/11/2023 | |
0.9.0.109 | 540 | 8/11/2023 | |
0.9.0.108 | 531 | 8/11/2023 | |
0.9.0.107 | 521 | 8/11/2023 | |
0.9.0.106 | 526 | 8/11/2023 | |
0.9.0.105 | 536 | 8/11/2023 | |
0.9.0.9 | 521 | 8/12/2023 | |
0.9.0.7 | 547 | 8/12/2023 | |
0.9.0.5 | 543 | 8/12/2023 | |
0.9.0.4 | 533 | 8/12/2023 | |
0.9.0.3 | 518 | 8/12/2023 | |
0.9.0.2 | 505 | 8/12/2023 | |
0.9.0.1 | 489 | 8/12/2023 |