Microsoft.Extensions.Caching.Abstractions 9.0.22

About

Provides the abstractions to create and use in-memory and distributed caching in your applications.

This library defines how in-memory and distributed caches should be implemented; it doesn’t contain any cache implementation. With the abstractions provided in this library, various types of caches can be built and used interchangeably, whether the data is kept in memory, in files, or even across a network.

Key Features

  • Interfaces for building and using in-memory and distributed caches.

How to Use

This package is typically used with an implementation of the caching abstractions, such as Microsoft.Extensions.Caching.Memory or Microsoft.Extensions.Caching.SqlServer.

Main Types

The main types provided by this library are:

  • Microsoft.Extensions.Caching.Abstractions.ICacheEntry
  • Microsoft.Extensions.Caching.Abstractions.IMemoryCache
  • Microsoft.Extensions.Caching.Abstractions.IDistributedCache

Additional Documentation

Feedback & Contributing

Microsoft.Extensions.Caching.Abstractions is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Extensions.Caching.Abstractions.

Packages Downloads
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
2,060
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
2,039
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
1,941
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
1,371
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
306
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
142
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
119
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
99
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
82
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
76
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
69
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/dotnet/tree/c2435c3e0f46de784341ac3ed62863ce77e117b4
69
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/159901324421e89ca7612465fc8c138609837f3d
67
Microsoft.Extensions.Caching.Hybrid
Multi-level caching implementation building on and extending IDistributedCache
65
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/dotnet/tree/a612c2a1056fe3265387ae3ff7c94eba1505caf9
64
IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
62
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
62
Microsoft.Extensions.Caching.StackExchangeRedis
Distributed cache implementation of Microsoft.Extensions.Caching.Distributed.IDistributedCache using Redis. This package was built from the source code at https://github.com/dotnet/dotnet/tree/2db1f5ee2bdda2e8d873769325fabede32e420e0
61
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
59

Version Downloads Last updated
11.0.0-rc.3.26522.148 8 10/25/2026
11.0.0-rc.2.26504.105 12 10/14/2026
11.0.0-rc.1.26425.128 19 09/10/2026
11.0.0-preview.7.26381.103 24 08/13/2026
11.0.0-preview.6.26359.118 29 07/16/2026
11.0.0-preview.5.26302.115 28 06/12/2026
11.0.0-preview.4.26230.115 33 05/14/2026
11.0.0-preview.3.26207.106 51 04/14/2026
11.0.0-preview.2.26159.112 34 03/11/2026
11.0.0-preview.1.26104.118 49 02/11/2026
10.0.14 6 10/25/2026
10.0.13 11 10/14/2026
10.0.12 14 09/09/2026
10.0.11 135 08/13/2026
10.0.10 24 07/16/2026
10.0.9 30 06/12/2026
10.0.8 31 05/14/2026
10.0.7 2,038 04/23/2026
10.0.6 47 04/14/2026
10.0.5 70 03/14/2026
10.0.4 45 03/12/2026
10.0.3 62 02/12/2026
10.0.2 84 01/14/2026
10.0.1 674 09/28/2026
10.0.0 96 12/21/2025
10.0.0-rc.2.25502.107 49 12/12/2025
10.0.0-rc.1.25451.107 46 12/20/2025
10.0.0-preview.7.25380.108 36 12/11/2025
10.0.0-preview.6.25358.103 46 12/11/2025
10.0.0-preview.5.25277.114 30 12/21/2025
10.0.0-preview.4.25258.110 25 12/21/2025
10.0.0-preview.3.25171.5 39 12/16/2025
10.0.0-preview.2.25163.2 43 12/21/2025
10.0.0-preview.1.25080.5 49 12/20/2025
9.0.22 10 10/25/2026
9.0.21 12 10/14/2026
9.0.20 22 09/09/2026
9.0.19 26 08/13/2026
9.0.18 26 07/16/2026
9.0.17 25 06/12/2026
9.0.16 36 05/14/2026
9.0.15 44 04/14/2026
9.0.14 56 03/11/2026
9.0.13 45 02/12/2026
9.0.12 47 01/15/2026
9.0.11 64 12/20/2025
9.0.10 57 12/22/2025
9.0.9 51 12/20/2025
9.0.8 9 09/29/2026
9.0.7 9 09/28/2026
9.0.6 49 12/28/2025
9.0.5 10 09/28/2026
9.0.4 45 12/20/2025
9.0.3 39 12/14/2025
9.0.2 34 12/20/2025
9.0.1 49 12/12/2025
9.0.0 297 12/22/2025
9.0.0-rc.2.24473.5 36 12/14/2025
9.0.0-rc.1.24431.7 39 12/15/2025
9.0.0-preview.7.24405.7 47 12/20/2025
9.0.0-preview.6.24327.7 44 12/14/2025
9.0.0-preview.5.24306.7 46 12/21/2025
9.0.0-preview.4.24266.19 31 12/20/2025
9.0.0-preview.3.24172.9 9 10/08/2026
9.0.0-preview.2.24128.5 41 12/28/2025
9.0.0-preview.1.24080.9 35 12/14/2025
8.0.0 98 09/28/2026
8.0.0-rc.2.23479.6 49 12/20/2025
8.0.0-rc.1.23419.4 30 12/20/2025
8.0.0-preview.7.23375.6 44 12/14/2025
8.0.0-preview.6.23329.7 50 12/28/2025
8.0.0-preview.5.23280.8 29 12/21/2025
8.0.0-preview.4.23259.5 43 12/13/2025
8.0.0-preview.3.23174.8 38 12/14/2025
8.0.0-preview.2.23128.3 39 12/16/2025
8.0.0-preview.1.23110.8 39 12/15/2025
7.0.0 47 12/14/2025
7.0.0-rc.2.22472.3 25 12/20/2025
7.0.0-rc.1.22426.10 38 12/17/2025
7.0.0-preview.7.22375.6 5 10/11/2026
7.0.0-preview.6.22324.4 47 12/21/2025
7.0.0-preview.5.22301.12 37 12/16/2025
7.0.0-preview.4.22229.4 42 12/14/2025
7.0.0-preview.3.22175.4 37 12/14/2025
7.0.0-preview.2.22152.2 44 12/20/2025
7.0.0-preview.1.22076.8 44 12/21/2025
6.0.2-mauipre.1.22102.15 43 12/14/2025
6.0.2-mauipre.1.22054.8 35 01/03/2026
6.0.1 42 12/14/2025
6.0.0 62 12/13/2025
6.0.0-rc.2.21480.5 32 12/12/2025
6.0.0-rc.1.21451.13 28 12/20/2025
6.0.0-preview.7.21377.19 28 12/14/2025
6.0.0-preview.6.21352.12 44 12/16/2025
6.0.0-preview.5.21301.5 37 12/21/2025
6.0.0-preview.4.21253.7 40 12/21/2025
6.0.0-preview.3.21201.4 38 12/13/2025
6.0.0-preview.2.21154.6 44 12/13/2025
6.0.0-preview.1.21102.12 38 12/13/2025
5.0.0 44 12/13/2025
5.0.0-rc.2.20475.5 46 12/20/2025
5.0.0-rc.1.20451.14 54 12/20/2025
5.0.0-preview.8.20407.11 39 12/20/2025
5.0.0-preview.7.20364.11 34 12/14/2025
5.0.0-preview.6.20305.6 40 12/14/2025
5.0.0-preview.5.20278.1 51 12/14/2025
5.0.0-preview.4.20251.6 41 12/21/2025
5.0.0-preview.3.20215.2 43 12/15/2025
5.0.0-preview.2.20160.3 33 12/21/2025
5.0.0-preview.1.20120.4 42 12/21/2025
3.1.32 46 12/20/2025
3.1.31 45 12/20/2025
3.1.30 48 12/14/2025
3.1.29 47 12/14/2025
3.1.28 28 12/20/2025
3.1.27 40 12/20/2025
3.1.26 40 12/20/2025
3.1.25 42 12/20/2025
3.1.24 39 12/20/2025
3.1.23 29 12/19/2025
3.1.22 48 12/22/2025
3.1.21 34 12/16/2025
3.1.20 41 12/22/2025
3.1.19 44 12/20/2025
3.1.18 52 12/20/2025
3.1.17 32 12/15/2025
3.1.16 41 12/20/2025
3.1.15 47 12/20/2025
3.1.14 48 12/15/2025
3.1.13 45 12/14/2025
3.1.12 40 12/20/2025
3.1.11 34 12/14/2025
3.1.10 49 12/20/2025
3.1.9 50 12/15/2025
3.1.8 35 12/15/2025
3.1.7 45 12/12/2025
3.1.6 43 12/16/2025
3.1.5 10 09/28/2026
3.1.4 6 10/11/2026
3.1.3 46 12/12/2025
3.1.2 48 12/28/2025
3.1.1 39 12/20/2025
3.1.0 49 12/14/2025
3.1.0-preview3.19553.2 39 12/15/2025
3.1.0-preview2.19525.4 43 12/20/2025
3.1.0-preview1.19506.1 42 12/16/2025
3.0.3 47 12/20/2025
3.0.2 49 12/14/2025
3.0.1 10 10/06/2026
3.0.0 38 12/13/2025
3.0.0-rc1.19456.10 49 12/13/2025
3.0.0-preview9.19423.4 48 12/16/2025
3.0.0-preview8.19405.4 33 12/21/2025
3.0.0-preview7.19362.4 50 12/28/2025
3.0.0-preview6.19304.6 40 12/13/2025
3.0.0-preview5.19227.9 29 12/16/2025
3.0.0-preview4.19216.2 44 12/21/2025
3.0.0-preview3.19153.1 43 12/15/2025
3.0.0-preview.19074.2 44 12/21/2025
3.0.0-preview.18572.1 35 12/17/2025
2.2.0 36 12/28/2025
2.2.0-preview3-35497 40 12/21/2025
2.2.0-preview2-35157 35 12/14/2025
2.2.0-preview1-35029 46 12/21/2025
2.1.23 42 12/20/2025
2.1.2 44 12/14/2025
2.1.1 44 12/14/2025
2.1.0 39 12/14/2025
2.1.0-rc1-final 34 12/20/2025
2.1.0-preview2-final 35 12/21/2025
2.1.0-preview1-final 43 12/13/2025
2.0.2 46 12/28/2025
2.0.1 47 12/14/2025
2.0.0 30 12/20/2025
2.0.0-preview2-final 45 12/15/2025
2.0.0-preview1-final 30 12/14/2025
1.1.2 39 12/22/2025
1.1.1 47 12/20/2025
1.1.0 45 12/14/2025
1.1.0-preview1-final 10 10/01/2026
1.0.2 34 12/20/2025
1.0.1 50 12/15/2025
1.0.0 39 12/20/2025
1.0.0-rc2-final 45 12/13/2025
1.0.0-rc1-final 32 12/20/2025