Microsoft.Extensions.Caching.Abstractions 10.0.0-preview.2.25163.2

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
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
75
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
74
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
73
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
72
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
68
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
68
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
64
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
63
Microsoft.Extensions.Caching.Memory
ASP.NET 5 in memory cache abstractions and implementation.
63
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
62
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
62
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
62
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
61
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
61
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
60
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
60
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
60

.NET Framework 4.6.2

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

Version Downloads Last updated
10.0.0-preview.3.25171.5 4 4/14/2025
10.0.0-preview.2.25163.2 13 3/22/2025
10.0.0-preview.1.25080.5 12 2/26/2025
9.0.4 6 4/10/2025
9.0.3 7 3/20/2025
9.0.2 15 2/14/2025
9.0.1 24 1/18/2025
9.0.0 19 11/13/2024
9.0.0-rc.2.24473.5 17 10/8/2024
9.0.0-rc.1.24431.7 20 9/12/2024
9.0.0-preview.7.24405.7 27 8/14/2024
9.0.0-preview.6.24327.7 31 7/10/2024
9.0.0-preview.5.24306.7 24 6/20/2024
9.0.0-preview.4.24266.19 25 5/27/2024
9.0.0-preview.3.24172.9 29 4/20/2024
9.0.0-preview.2.24128.5 30 3/29/2024
9.0.0-preview.1.24080.9 30 2/21/2024
8.0.0 37 11/15/2023
8.0.0-rc.2.23479.6 36 10/18/2023
8.0.0-rc.1.23419.4 39 9/17/2023
8.0.0-preview.7.23375.6 46 8/18/2023
8.0.0-preview.6.23329.7 41 8/2/2023
8.0.0-preview.5.23280.8 52 8/3/2023
8.0.0-preview.4.23259.5 40 8/3/2023
8.0.0-preview.3.23174.8 37 5/14/2023
8.0.0-preview.2.23128.3 34 5/17/2023
8.0.0-preview.1.23110.8 37 2/24/2023
7.0.0 47 12/5/2022
7.0.0-rc.2.22472.3 48 11/6/2022
7.0.0-rc.1.22426.10 45 9/16/2022
7.0.0-preview.7.22375.6 46 9/16/2022
7.0.0-preview.6.22324.4 50 9/16/2022
7.0.0-preview.5.22301.12 48 6/29/2022
7.0.0-preview.4.22229.4 41 6/29/2022
7.0.0-preview.3.22175.4 46 6/29/2022
7.0.0-preview.2.22152.2 44 6/29/2022
7.0.0-preview.1.22076.8 40 6/29/2022
6.0.2-mauipre.1.22102.15 42 6/29/2022
6.0.2-mauipre.1.22054.8 39 6/29/2022
6.0.1 26 11/14/2024
6.0.0 45 6/29/2022
6.0.0-rc.2.21480.5 41 6/29/2022
6.0.0-rc.1.21451.13 45 6/29/2022
6.0.0-preview.7.21377.19 44 6/29/2022
6.0.0-preview.6.21352.12 50 6/29/2022
6.0.0-preview.5.21301.5 61 6/29/2022
6.0.0-preview.4.21253.7 41 6/29/2022
6.0.0-preview.3.21201.4 53 6/29/2022
6.0.0-preview.2.21154.6 38 6/29/2022
6.0.0-preview.1.21102.12 51 6/29/2022
5.0.0 54 6/29/2022
5.0.0-rc.2.20475.5 46 6/29/2022
5.0.0-rc.1.20451.14 46 6/29/2022
5.0.0-preview.8.20407.11 39 6/29/2022
5.0.0-preview.7.20364.11 51 6/29/2022
5.0.0-preview.6.20305.6 45 6/29/2022
5.0.0-preview.5.20278.1 49 6/29/2022
5.0.0-preview.4.20251.6 39 6/29/2022
5.0.0-preview.3.20215.2 43 6/29/2022
5.0.0-preview.2.20160.3 49 6/29/2022
5.0.0-preview.1.20120.4 42 6/29/2022
3.1.32 41 2/24/2023
3.1.31 43 12/5/2022
3.1.30 45 12/5/2022
3.1.29 50 9/16/2022
3.1.28 48 8/29/2022
3.1.27 41 9/16/2022
3.1.26 45 6/29/2022
3.1.25 46 6/29/2022
3.1.24 46 6/29/2022
3.1.23 44 6/29/2022
3.1.22 45 6/29/2022
3.1.21 50 6/29/2022
3.1.20 42 6/29/2022
3.1.19 46 6/28/2022
3.1.18 42 6/29/2022
3.1.17 41 6/29/2022
3.1.16 55 6/29/2022
3.1.15 42 6/29/2022
3.1.14 41 6/29/2022
3.1.13 35 6/29/2022
3.1.12 46 6/29/2022
3.1.11 42 6/29/2022
3.1.10 44 6/29/2022
3.1.9 45 6/29/2022
3.1.8 61 6/29/2022
3.1.7 55 6/29/2022
3.1.6 46 6/29/2022
3.1.5 45 6/29/2022
3.1.4 45 6/29/2022
3.1.3 47 6/29/2022
3.1.2 44 6/29/2022
3.1.1 42 6/29/2022
3.1.0 50 6/29/2022
3.1.0-preview3.19553.2 51 6/29/2022
3.1.0-preview2.19525.4 48 6/29/2022
3.1.0-preview1.19506.1 42 6/29/2022
3.0.3 85 6/29/2022
3.0.2 42 6/29/2022
3.0.1 48 6/29/2022
3.0.0 51 6/29/2022
3.0.0-rc1.19456.10 43 6/29/2022
3.0.0-preview9.19423.4 46 6/29/2022
3.0.0-preview8.19405.4 47 6/29/2022
3.0.0-preview7.19362.4 48 6/29/2022
3.0.0-preview6.19304.6 44 6/29/2022
3.0.0-preview5.19227.9 43 6/29/2022
3.0.0-preview4.19216.2 44 6/29/2022
3.0.0-preview3.19153.1 44 6/29/2022
3.0.0-preview.19074.2 50 6/29/2022
3.0.0-preview.18572.1 46 6/29/2022
2.2.0 50 6/29/2022
2.2.0-preview3-35497 41 6/29/2022
2.2.0-preview2-35157 46 6/29/2022
2.2.0-preview1-35029 39 6/29/2022
2.1.23 42 6/29/2022
2.1.2 53 6/29/2022
2.1.1 56 6/29/2022
2.1.0 57 6/29/2022
2.1.0-rc1-final 52 6/29/2022
2.1.0-preview2-final 47 6/29/2022
2.1.0-preview1-final 46 6/29/2022
2.0.2 40 6/29/2022
2.0.1 43 6/29/2022
2.0.0 46 6/29/2022
2.0.0-preview2-final 49 6/29/2022
2.0.0-preview1-final 40 6/29/2022
1.1.2 43 6/29/2022
1.1.1 47 6/29/2022
1.1.0 46 6/29/2022
1.1.0-preview1-final 41 6/29/2022
1.0.2 44 6/29/2022
1.0.1 49 6/29/2022
1.0.0 51 6/29/2022
1.0.0-rc2-final 43 6/29/2022
1.0.0-rc1-final 42 6/29/2022