Common.SmartCache
0.9.0.221
See the version list below for details.
dotnet add package Common.SmartCache --version 0.9.0.221
NuGet\Install-Package Common.SmartCache -Version 0.9.0.221
<PackageReference Include="Common.SmartCache" Version="0.9.0.221" />
paket add Common.SmartCache --version 0.9.0.221
#r "nuget: Common.SmartCache, 0.9.0.221"
// Install Common.SmartCache as a Cake Addin #addin nuget:?package=Common.SmartCache&version=0.9.0.221 // Install Common.SmartCache as a Cake Tool #tool nuget:?package=Common.SmartCache&version=0.9.0.221
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 | 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. |
-
net6.0
- Common.Diagnostics (>= 1.0.2.44)
- DotNext.Threading (>= 4.14.0)
- Microsoft.AspNetCore.Mvc.Versioning (>= 5.1.0)
- Microsoft.Extensions.Configuration (>= 6.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 6.0.0)
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- Microsoft.Extensions.Configuration.UserSecrets (>= 6.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Console (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.3)
- StackExchange.Redis (>= 2.6.122)
- System.Net.Http.Json (>= 6.0.0)
- System.Text.Json (>= 6.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 | 418 | 2/7/2024 | |
0.9.0.254 | 496 | 10/23/2023 | |
0.9.0.253 | 520 | 10/13/2023 | |
0.9.0.251 | 508 | 10/1/2023 | |
0.9.0.250 | 497 | 10/1/2023 | |
0.9.0.249 | 497 | 9/3/2023 | |
0.9.0.248 | 469 | 8/30/2023 | |
0.9.0.247 | 521 | 8/30/2023 | |
0.9.0.246 | 482 | 8/30/2023 | |
0.9.0.243 | 524 | 8/30/2023 | |
0.9.0.242 | 456 | 8/30/2023 | |
0.9.0.241 | 496 | 8/30/2023 | |
0.9.0.239 | 502 | 8/30/2023 | |
0.9.0.238 | 508 | 8/29/2023 | |
0.9.0.237 | 490 | 8/29/2023 | |
0.9.0.236 | 501 | 8/29/2023 | |
0.9.0.235 | 505 | 8/29/2023 | |
0.9.0.234 | 512 | 8/29/2023 | |
0.9.0.229 | 532 | 8/28/2023 | |
0.9.0.228 | 519 | 8/28/2023 | |
0.9.0.227 | 512 | 8/28/2023 | |
0.9.0.226 | 488 | 8/28/2023 | |
0.9.0.225 | 543 | 8/23/2023 | |
0.9.0.224 | 516 | 8/23/2023 | |
0.9.0.223 | 542 | 8/20/2023 | |
0.9.0.222 | 509 | 8/20/2023 | |
0.9.0.221 | 507 | 8/20/2023 | |
0.9.0.213 | 544 | 8/19/2023 | |
0.9.0.212 | 546 | 8/19/2023 | |
0.9.0.211 | 541 | 8/19/2023 | |
0.9.0.210 | 512 | 8/19/2023 | |
0.9.0.209 | 489 | 8/19/2023 | |
0.9.0.208 | 502 | 8/19/2023 | |
0.9.0.207 | 493 | 8/18/2023 | |
0.9.0.206 | 501 | 8/17/2023 | |
0.9.0.205 | 521 | 8/16/2023 | |
0.9.0.204 | 513 | 8/16/2023 | |
0.9.0.203 | 519 | 8/16/2023 | |
0.9.0.202 | 511 | 8/16/2023 | |
0.9.0.201 | 501 | 8/16/2023 | |
0.9.0.200 | 499 | 8/16/2023 | |
0.9.0.199 | 537 | 8/15/2023 | |
0.9.0.198 | 494 | 8/15/2023 | |
0.9.0.197 | 481 | 8/15/2023 | |
0.9.0.196 | 519 | 8/15/2023 | |
0.9.0.195 | 506 | 8/15/2023 | |
0.9.0.194 | 503 | 8/15/2023 | |
0.9.0.193 | 515 | 8/15/2023 | |
0.9.0.192 | 521 | 8/15/2023 | |
0.9.0.191 | 544 | 8/15/2023 | |
0.9.0.190 | 498 | 8/15/2023 | |
0.9.0.184 | 514 | 8/15/2023 | |
0.9.0.170 | 513 | 8/15/2023 | |
0.9.0.169 | 534 | 8/15/2023 | |
0.9.0.166 | 546 | 8/15/2023 | |
0.9.0.164 | 534 | 8/15/2023 | |
0.9.0.149 | 532 | 8/13/2023 | |
0.9.0.148 | 522 | 8/13/2023 | |
0.9.0.146 | 541 | 8/13/2023 | |
0.9.0.144 | 501 | 8/13/2023 | |
0.9.0.143 | 538 | 8/13/2023 | |
0.9.0.142 | 520 | 8/13/2023 | |
0.9.0.139 | 538 | 8/13/2023 | |
0.9.0.136 | 514 | 8/12/2023 | |
0.9.0.131 | 505 | 8/12/2023 | |
0.9.0.130 | 508 | 8/12/2023 | |
0.9.0.123 | 551 | 8/12/2023 | |
0.9.0.122 | 493 | 8/12/2023 | |
0.9.0.121 | 500 | 8/12/2023 | |
0.9.0.111 | 528 | 8/11/2023 | |
0.9.0.110 | 534 | 8/11/2023 | |
0.9.0.109 | 538 | 8/11/2023 | |
0.9.0.108 | 529 | 8/11/2023 | |
0.9.0.107 | 519 | 8/11/2023 | |
0.9.0.106 | 524 | 8/11/2023 | |
0.9.0.105 | 534 | 8/11/2023 | |
0.9.0.9 | 519 | 8/12/2023 | |
0.9.0.7 | 545 | 8/12/2023 | |
0.9.0.5 | 541 | 8/12/2023 | |
0.9.0.4 | 531 | 8/12/2023 | |
0.9.0.3 | 516 | 8/12/2023 | |
0.9.0.2 | 503 | 8/12/2023 | |
0.9.0.1 | 487 | 8/12/2023 |