Arc4u.Caching
9.0.0-preview46
Prefix Reserved
This is a prerelease version of Arc4u.Caching.
dotnet add package Arc4u.Caching --version 9.0.0-preview46
NuGet\Install-Package Arc4u.Caching -Version 9.0.0-preview46
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="Arc4u.Caching" Version="9.0.0-preview46" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arc4u.Caching" Version="9.0.0-preview46" />
<PackageReference Include="Arc4u.Caching" />
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 Arc4u.Caching --version 9.0.0-preview46
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Arc4u.Caching, 9.0.0-preview46"
#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 Arc4u.Caching@9.0.0-preview46
#: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=Arc4u.Caching&version=9.0.0-preview46&prerelease
#tool nuget:?package=Arc4u.Caching&version=9.0.0-preview46&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Arc4u.Caching
Named caches declared in configuration and used through one interface, ICache, whatever the store behind them.
Add a provider package for the store (memory, Redis, SQL Server or Dapr).
Install
dotnet add package Arc4u.Caching --prerelease
Usage
// Reads the "Caching" section of the configuration.
builder.Services.AddILogger();
builder.Services.AddCacheContext(builder.Configuration);
// Later, with an injected ICacheContext:
await cacheContext.Default.PutAsync("greeting", TimeSpan.FromMinutes(5), "hello");
var greeting = await cacheContext.Default.GetAsync<string>("greeting");
The providers and a serializer must also be registered: see the guide.
Documentation
- Guide: Caching
- API reference: Arc4u.Caching
- Source and issues: github.com/Arc4u-org/Arc4u
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Arc4u.Dependency (>= 9.0.0-preview46)
- Arc4u.Diagnostics (>= 9.0.0-preview46)
- Arc4u.Serializer (>= 9.0.0-preview46)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Hosting (>= 10.0.0)
-
net11.0
- Arc4u.Dependency (>= 9.0.0-preview46)
- Arc4u.Diagnostics (>= 9.0.0-preview46)
- Arc4u.Serializer (>= 9.0.0-preview46)
- Microsoft.Extensions.Hosting (>= 11.0.0-rc.3.26522.148)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Arc4u.Caching:
| Package | Downloads |
|---|---|
|
Arc4u.OAuth2
Package Description |
|
|
Arc4u.Caching.Memory
Package Description |
|
|
Arc4u.Caching.Redis
Package Description |
|
|
Arc4u.Caching.Dapr
Package Description |
|
|
Arc4u.Caching.SqlServer
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.0-preview46 | 59 | 11/3/2026 |
| 9.0.0-preview45 | 82 | 11/2/2026 |
| 9.0.0-preview44 | 84 | 11/1/2026 |
| 9.0.0-preview43 | 74 | 11/1/2026 |
| 9.0.0-preview42 | 103 | 10/30/2026 |
| 9.0.0-preview41 | 99 | 10/30/2026 |
| 9.0.0-preview40 | 135 | 10/27/2026 |
| 9.0.0-preview39 | 116 | 10/24/2026 |
| 9.0.0-preview38 | 134 | 10/22/2026 |
| 9.0.0-preview37 | 589 | 8/11/2026 |
| 9.0.0-preview36 | 445 | 7/28/2026 |
| 9.0.0-preview35 | 120 | 7/27/2026 |
| 9.0.0-preview34 | 135 | 7/27/2026 |
| 9.0.0-preview33 | 163 | 6/15/2026 |
| 9.0.0-preview32 | 130 | 6/14/2026 |
| 9.0.0-preview31 | 138 | 5/20/2026 |
| 9.0.0-preview30 | 137 | 5/19/2026 |
| 9.0.0-preview29 | 138 | 5/15/2026 |
| 9.0.0-preview28 | 146 | 5/15/2026 |
| 9.0.0-preview27 | 132 | 5/14/2026 |
Loading failed