Microsoft.Extensions.Caching.Abstractions 9.0.7

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
92
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
90
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
83
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
83
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
79
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
77
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
76
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.
75
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache. When using NuGet 3.x this package requires at least version 3.4.
73
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
73
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
72
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
72
Microsoft.Extensions.Caching.Memory
ASP.NET 5 in memory cache abstractions and implementation.
72
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
72
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
71
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
71

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