11 writes to SizeLimit
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateValidationCache.cs (1)
24_cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = _options.CacheSize, Clock = new CachingClock(timeProvider) });
Microsoft.AspNetCore.Authentication.Negotiate (1)
Internal\LdapAdapter.cs (1)
28settings.ClaimsCache = new MemoryCache(new MemoryCacheOptions { SizeLimit = settings.ClaimsCacheSize });
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
58SizeLimit = _options.DisconnectedCircuitMaxRetained,
Microsoft.AspNetCore.Mvc.Razor (1)
Infrastructure\TagHelperMemoryCacheProvider.cs (1)
20SizeLimit = 10 * 1024 * 1024 // 10MB
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelperMemoryCacheFactory.cs (1)
23SizeLimit = options.Value.SizeLimit,
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheServiceCollectionExtensions.cs (1)
36SizeLimit = outputCacheOptions.Value.SizeLimit
Microsoft.AspNetCore.OutputCaching.Tests (2)
MemoryOutputCacheStoreTests.cs (1)
159var cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = 1000, Clock = testClock, ExpirationScanFrequency = TimeSpan.FromMilliseconds(1) });
OutputCacheMiddlewareTests.cs (1)
766SizeLimit = 100
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
51SizeLimit = options.Value.SizeLimit
Microsoft.AspNetCore.ResponseCaching.Tests (1)
ResponseCachingMiddlewareTests.cs (1)
853SizeLimit = 100
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCacheOptions.cs (1)
18SizeLimit = 200 * 1024 * 1024;
3 references to SizeLimit
Microsoft.Extensions.Caching.Memory (3)
MemoryCache.cs (3)
122throw new InvalidOperationException(SR.Format(SR.CacheEntryHasEmptySize, nameof(entry.Size), nameof(_options.SizeLimit))); 329CurrentEstimatedSize = _options.SizeLimit.HasValue ? Size : null 675if (options.SizeLimit.HasValue)