1 interface inheriting from IOutputCacheStore
Microsoft.AspNetCore.OutputCaching (1)
IOutputCacheBufferStore.cs (1)
12public interface IOutputCacheBufferStore : IOutputCacheStore
2 implementations of IOutputCacheStore
Microsoft.AspNetCore.OutputCaching (1)
Memory\MemoryOutputCacheStore.cs (1)
10internal sealed class MemoryOutputCacheStore : IOutputCacheStore
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
22internal partial class RedisOutputCacheStore : IOutputCacheStore, IOutputCacheBufferStore, IDisposable
25 references to IOutputCacheStore
Aspire.StackExchange.Redis.OutputCaching (1)
AspireRedisOutputCacheExtensions.cs (1)
78/// Configures the Redis client to provide output caching services through <see cref="IOutputCacheStore"/>.
Aspire.StackExchange.Redis.OutputCaching.Tests (6)
AspireRedisOutputCacheExtensionsTests.cs (4)
21var cacheStore = host.Services.GetRequiredService<IOutputCacheStore>(); 35var cacheStore = host.Services.GetRequiredService<IOutputCacheStore>();
OutputCacheConformanceTests.cs (2)
63var cacheStore = host.Services.GetRequiredService<IOutputCacheStore>();
Aspire.StackExchange.Redis.Tests (6)
AspireRedisExtensionsTests.cs (6)
230var cacheStore = host.Services.GetRequiredService<IOutputCacheStore>(); 361var outputCache = host.Services.GetRequiredService<IOutputCacheStore>(); 415var outputCache = host.Services.GetRequiredService<IOutputCacheStore>();
Microsoft.AspNetCore.OutputCaching (8)
OutputCacheEntryFormatter.cs (3)
14/// Formats <see cref="OutputCacheEntry"/> instance to match structures supported by the <see cref="IOutputCacheStore"/> implementations. 24public static async ValueTask<OutputCacheEntry?> GetAsync(string key, IOutputCacheStore store, CancellationToken cancellationToken) 38public static async ValueTask StoreAsync(string key, OutputCacheEntry value, HashSet<string>? tags, TimeSpan duration, IOutputCacheStore store, ILogger logger, CancellationToken cancellationToken)
OutputCacheMiddleware.cs (4)
25private readonly IOutputCacheStore _store; 37/// <param name="outputCache">The <see cref="IOutputCacheStore"/> store.</param> 44IOutputCacheStore outputCache, 62IOutputCacheStore cache,
OutputCacheServiceCollectionExtensions.cs (1)
32services.TryAddSingleton<IOutputCacheStore>(sp =>
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (4)
RedisOutputCacheStore.cs (3)
165async ValueTask IOutputCacheStore.EvictByTagAsync(string tag, CancellationToken cancellationToken) 188async ValueTask<byte[]?> IOutputCacheStore.GetAsync(string key, CancellationToken cancellationToken) 237ValueTask IOutputCacheStore.SetAsync(string key, byte[] value, string[]? tags, TimeSpan validFor, CancellationToken cancellationToken)
StackExchangeRedisCacheServiceCollectionExtensions.cs (1)
34services.AddSingleton<AspNetCore.OutputCaching.IOutputCacheStore, RedisOutputCacheStoreImpl>();