Common.SmartCache 0.9.0.238

There is a newer version of this package available.
See the version list below for details.
dotnet add package Common.SmartCache --version 0.9.0.238
                    
NuGet\Install-Package Common.SmartCache -Version 0.9.0.238
                    
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="Common.SmartCache" Version="0.9.0.238" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.SmartCache" Version="0.9.0.238" />
                    
Directory.Packages.props
<PackageReference Include="Common.SmartCache" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Common.SmartCache --version 0.9.0.238
                    
#r "nuget: Common.SmartCache, 0.9.0.238"
                    
#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.
#:package Common.SmartCache@0.9.0.238
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Common.SmartCache&version=0.9.0.238
                    
Install as a Cake Addin
#tool nuget:?package=Common.SmartCache&version=0.9.0.238
                    
Install as a Cake Tool

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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
0.9.0.255 541 2/7/2024 0.9.0.255 is deprecated because it is no longer maintained.
0.9.0.254 572 10/23/2023 0.9.0.254 is deprecated because it is no longer maintained.
0.9.0.253 601 10/13/2023 0.9.0.253 is deprecated because it is no longer maintained.
0.9.0.251 589 10/1/2023 0.9.0.251 is deprecated because it is no longer maintained.
0.9.0.250 557 10/1/2023 0.9.0.250 is deprecated because it is no longer maintained.
0.9.0.249 586 9/3/2023 0.9.0.249 is deprecated because it is no longer maintained.
0.9.0.248 562 8/30/2023 0.9.0.248 is deprecated because it is no longer maintained.
0.9.0.247 629 8/30/2023 0.9.0.247 is deprecated because it is no longer maintained.
0.9.0.246 568 8/30/2023 0.9.0.246 is deprecated because it is no longer maintained.
0.9.0.243 606 8/30/2023 0.9.0.243 is deprecated because it is no longer maintained.
0.9.0.242 544 8/30/2023 0.9.0.242 is deprecated because it is no longer maintained.
0.9.0.241 565 8/30/2023 0.9.0.241 is deprecated because it is no longer maintained.
0.9.0.239 592 8/30/2023 0.9.0.239 is deprecated because it is no longer maintained.
0.9.0.238 599 8/29/2023 0.9.0.238 is deprecated because it is no longer maintained.
0.9.0.237 577 8/29/2023 0.9.0.237 is deprecated because it is no longer maintained.
0.9.0.236 593 8/29/2023 0.9.0.236 is deprecated because it is no longer maintained.
0.9.0.235 596 8/29/2023 0.9.0.235 is deprecated because it is no longer maintained.
0.9.0.234 609 8/29/2023 0.9.0.234 is deprecated because it is no longer maintained.
0.9.0.229 616 8/28/2023 0.9.0.229 is deprecated because it is no longer maintained.
0.9.0.228 625 8/28/2023 0.9.0.228 is deprecated because it is no longer maintained.
0.9.0.227 596 8/28/2023 0.9.0.227 is deprecated because it is no longer maintained.
0.9.0.226 573 8/28/2023 0.9.0.226 is deprecated because it is no longer maintained.
0.9.0.225 630 8/23/2023 0.9.0.225 is deprecated because it is no longer maintained.
0.9.0.224 605 8/23/2023 0.9.0.224 is deprecated because it is no longer maintained.
0.9.0.223 642 8/20/2023 0.9.0.223 is deprecated because it is no longer maintained.
0.9.0.222 607 8/20/2023 0.9.0.222 is deprecated because it is no longer maintained.
0.9.0.221 608 8/20/2023 0.9.0.221 is deprecated because it is no longer maintained.
0.9.0.213 640 8/19/2023 0.9.0.213 is deprecated because it is no longer maintained.
0.9.0.212 648 8/19/2023 0.9.0.212 is deprecated because it is no longer maintained.
0.9.0.211 652 8/19/2023 0.9.0.211 is deprecated because it is no longer maintained.
0.9.0.210 601 8/19/2023 0.9.0.210 is deprecated because it is no longer maintained.
0.9.0.209 582 8/19/2023 0.9.0.209 is deprecated because it is no longer maintained.
0.9.0.208 596 8/19/2023 0.9.0.208 is deprecated because it is no longer maintained.
0.9.0.207 590 8/18/2023 0.9.0.207 is deprecated because it is no longer maintained.
0.9.0.206 594 8/17/2023 0.9.0.206 is deprecated because it is no longer maintained.
0.9.0.205 610 8/16/2023 0.9.0.205 is deprecated because it is no longer maintained.
0.9.0.204 605 8/16/2023 0.9.0.204 is deprecated because it is no longer maintained.
0.9.0.203 612 8/16/2023 0.9.0.203 is deprecated because it is no longer maintained.
0.9.0.202 602 8/16/2023 0.9.0.202 is deprecated because it is no longer maintained.
0.9.0.201 590 8/16/2023 0.9.0.201 is deprecated because it is no longer maintained.
0.9.0.200 584 8/16/2023 0.9.0.200 is deprecated because it is no longer maintained.
0.9.0.199 646 8/15/2023 0.9.0.199 is deprecated because it is no longer maintained.
0.9.0.198 585 8/15/2023 0.9.0.198 is deprecated because it is no longer maintained.
0.9.0.197 578 8/15/2023 0.9.0.197 is deprecated because it is no longer maintained.
0.9.0.196 604 8/15/2023 0.9.0.196 is deprecated because it is no longer maintained.
0.9.0.195 597 8/15/2023 0.9.0.195 is deprecated because it is no longer maintained.
0.9.0.194 595 8/15/2023 0.9.0.194 is deprecated because it is no longer maintained.
0.9.0.193 627 8/15/2023 0.9.0.193 is deprecated because it is no longer maintained.
0.9.0.192 633 8/15/2023 0.9.0.192 is deprecated because it is no longer maintained.
0.9.0.191 638 8/15/2023 0.9.0.191 is deprecated because it is no longer maintained.
0.9.0.190 587 8/15/2023 0.9.0.190 is deprecated because it is no longer maintained.
0.9.0.184 608 8/15/2023 0.9.0.184 is deprecated because it is no longer maintained.
0.9.0.170 606 8/15/2023 0.9.0.170 is deprecated because it is no longer maintained.
0.9.0.169 620 8/15/2023 0.9.0.169 is deprecated because it is no longer maintained.
0.9.0.166 632 8/15/2023 0.9.0.166 is deprecated because it is no longer maintained.
0.9.0.164 628 8/15/2023 0.9.0.164 is deprecated because it is no longer maintained.
0.9.0.149 624 8/13/2023 0.9.0.149 is deprecated because it is no longer maintained.
0.9.0.148 615 8/13/2023 0.9.0.148 is deprecated because it is no longer maintained.
0.9.0.146 637 8/13/2023 0.9.0.146 is deprecated because it is no longer maintained.
0.9.0.144 623 8/13/2023 0.9.0.144 is deprecated because it is no longer maintained.
0.9.0.143 622 8/13/2023 0.9.0.143 is deprecated because it is no longer maintained.
0.9.0.142 612 8/13/2023 0.9.0.142 is deprecated because it is no longer maintained.
0.9.0.139 624 8/13/2023 0.9.0.139 is deprecated because it is no longer maintained.
0.9.0.136 609 8/12/2023 0.9.0.136 is deprecated because it is no longer maintained.
0.9.0.131 599 8/12/2023 0.9.0.131 is deprecated because it is no longer maintained.
0.9.0.130 604 8/12/2023 0.9.0.130 is deprecated because it is no longer maintained.
0.9.0.123 647 8/12/2023 0.9.0.123 is deprecated because it is no longer maintained.
0.9.0.122 576 8/12/2023 0.9.0.122 is deprecated because it is no longer maintained.
0.9.0.121 597 8/12/2023 0.9.0.121 is deprecated because it is no longer maintained.
0.9.0.111 607 8/11/2023 0.9.0.111 is deprecated because it is no longer maintained.
0.9.0.110 626 8/11/2023 0.9.0.110 is deprecated because it is no longer maintained.
0.9.0.109 626 8/11/2023 0.9.0.109 is deprecated because it is no longer maintained.
0.9.0.108 627 8/11/2023 0.9.0.108 is deprecated because it is no longer maintained.
0.9.0.107 619 8/11/2023 0.9.0.107 is deprecated because it is no longer maintained.
0.9.0.106 622 8/11/2023 0.9.0.106 is deprecated because it is no longer maintained.
0.9.0.105 627 8/11/2023 0.9.0.105 is deprecated because it is no longer maintained.
0.9.0.9 618 8/12/2023 0.9.0.9 is deprecated because it is no longer maintained.
0.9.0.7 668 8/12/2023 0.9.0.7 is deprecated because it is no longer maintained.
0.9.0.5 632 8/12/2023 0.9.0.5 is deprecated because it is no longer maintained.
0.9.0.4 607 8/12/2023 0.9.0.4 is deprecated because it is no longer maintained.
0.9.0.3 607 8/12/2023 0.9.0.3 is deprecated because it is no longer maintained.
0.9.0.2 603 8/12/2023 0.9.0.2 is deprecated because it is no longer maintained.
0.9.0.1 580 8/12/2023 0.9.0.1 is deprecated because it is no longer maintained.