ViazyNetCore.Caching
1.6.1
dotnet add package ViazyNetCore.Caching --version 1.6.1
NuGet\Install-Package ViazyNetCore.Caching -Version 1.6.1
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="ViazyNetCore.Caching" Version="1.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ViazyNetCore.Caching" Version="1.6.1" />
<PackageReference Include="ViazyNetCore.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 ViazyNetCore.Caching --version 1.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ViazyNetCore.Caching, 1.6.1"
#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 ViazyNetCore.Caching@1.6.1
#: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=ViazyNetCore.Caching&version=1.6.1
#tool nuget:?package=ViazyNetCore.Caching&version=1.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
ViazyNetCore.Caching 是基于缓存的应用,支持二级缓存;
How to Use
builder.Services.AddCaching()
.UseDistributedMemoryCache();
使用 StackExchange.Redis
dotnet add package ViazyNetCore.Redis
builder.Services.AddCaching()
.UseStackExchangeRedisCaching(options =>
{
options.ConfigurationOptions = new StackExchange.Redis.ConfigurationOptions
{
EndPoints =
{
{ redisConfig.Host, redisConfig.Port }
},
Password = redisConfig.Password,
};
})
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 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. 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.
-
net6.0
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
- ViazyNetCore.Core (>= 1.6.1)
-
net7.0
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
- ViazyNetCore.Core (>= 1.6.1)
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
- ViazyNetCore.Core (>= 1.6.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ViazyNetCore.Caching:
Package | Downloads |
---|---|
ViazyNetCore.MultiTenancy
Package Description |
|
ViazyNetCore.Auth
Package Description |
|
ViazyNetCore.Redis
Package Description |
|
ViazyNetCore.CmsKit.Domain
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.6.1 | 324 | 1/12/2024 |
1.5.4 | 374 | 11/4/2023 |
1.5.3 | 298 | 11/4/2023 |
1.5.2 | 326 | 10/30/2023 |
1.5.2-preview7.0 | 96 | 10/30/2023 |
1.3.4-rc1 | 246 | 10/6/2023 |
1.3.3-rc9 | 253 | 9/30/2023 |
1.3.3-rc8 | 237 | 9/29/2023 |
1.3.3-rc7 | 234 | 9/29/2023 |
1.3.3-rc6 | 246 | 9/29/2023 |
1.3.3-rc5 | 233 | 9/29/2023 |
1.3.3-rc3 | 229 | 9/29/2023 |
1.3.3-rc2 | 226 | 9/29/2023 |
1.3.3-rc10 | 251 | 10/6/2023 |
1.3.3-rc1 | 227 | 9/27/2023 |
1.3.2 | 317 | 9/26/2023 |
1.3.1 | 296 | 9/25/2023 |
1.3.0 | 279 | 9/22/2023 |
1.2.2 | 296 | 9/18/2023 |
1.2.0 | 260 | 9/16/2023 |
1.0.5 | 362 | 8/1/2023 |
1.0.4 | 261 | 7/21/2023 |
1.0.3 | 311 | 7/20/2023 |
1.0.1 | 278 | 7/20/2023 |
1.0.0 | 321 | 7/20/2023 |