Microsoft.Extensions.Caching.Abstractions 9.0.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
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
71
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
67
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
66
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
63
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
63
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
61
Microsoft.Extensions.Caching.Memory
ASP.NET 5 in memory cache abstractions and implementation.
61
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
60
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
57
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
57
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
56
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
56
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache. This package was built from the source at: https://github.com/aspnet/Caching/tree/a3063f41bce093b3465a241ce0e3670f60f8d33e
55
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
55
MiniProfiler.AspNetCore
Lightweight mini-profiler, designed for ASP.NET Core (not System.Web) websites
54

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