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.
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.
// Install ViazyNetCore.Caching as a Cake Addin #addin nuget:?package=ViazyNetCore.Caching&version=1.6.1 // Install ViazyNetCore.Caching as a Cake Tool #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. |
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 | 288 | 1/12/2024 |
1.5.4 | 359 | 11/4/2023 |
1.5.3 | 282 | 11/4/2023 |
1.5.2 | 307 | 10/30/2023 |
1.5.2-preview7.0 | 73 | 10/30/2023 |
1.3.4-rc1 | 222 | 10/6/2023 |
1.3.3-rc9 | 231 | 9/30/2023 |
1.3.3-rc8 | 215 | 9/29/2023 |
1.3.3-rc7 | 210 | 9/29/2023 |
1.3.3-rc6 | 223 | 9/29/2023 |
1.3.3-rc5 | 213 | 9/29/2023 |
1.3.3-rc3 | 206 | 9/29/2023 |
1.3.3-rc2 | 206 | 9/29/2023 |
1.3.3-rc10 | 227 | 10/6/2023 |
1.3.3-rc1 | 202 | 9/27/2023 |
1.3.2 | 289 | 9/26/2023 |
1.3.1 | 268 | 9/25/2023 |
1.3.0 | 253 | 9/22/2023 |
1.2.2 | 272 | 9/18/2023 |
1.2.0 | 237 | 9/16/2023 |
1.0.5 | 332 | 8/1/2023 |
1.0.4 | 216 | 7/21/2023 |
1.0.3 | 275 | 7/20/2023 |
1.0.1 | 246 | 7/20/2023 |
1.0.0 | 285 | 7/20/2023 |