Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.Extensions.Caching.Distributed
  3. IDistributedCache
  4. Get(String)
  • IDistributedCache
    • Get(String)
    • GetAsync(String, CancellationToken)
    • Refresh(String)
    • RefreshAsync(String, CancellationToken)
    • Remove(String)
    • RemoveAsync(String, CancellationToken)
    • Set(String, Byte[], DistributedCacheEntryOptions)
    • SetAsync(String, Byte[], DistributedCacheEntryOptions, CancellationToken)
    • GetString(IDistributedCache, String)
    • GetStringAsync(IDistributedCache, String, CancellationToken)
    • Set(IDistributedCache, String, Byte[])
    • SetAsync(IDistributedCache, String, Byte[], CancellationToken)
    • SetString(IDistributedCache, String, String)
    • SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)
    • SetStringAsync(IDistributedCache, String, String, CancellationToken)
    • SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken)
net11.0
namespace Microsoft.Extensions.Caching.Distributed
{
    public interface IDistributedCache
    {
        byte[]? Get(string! key);
    }
}
nuget.org
0.1 %
Reference this API
.NET
5.06.07.08.09.010.011.0
.NET Core
3.03.1
.NET Framework
4.6.24.74.7.14.7.24.84.8.1
Information specific to net11.0
Assembly

Microsoft.Extensions.Caching.Abstractions , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

06/09/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙