14 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.HeaderParsing (1)
HeaderKey.cs (1)
41SizeLimit = maxCachedValues,
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.Hybrid.Tests (2)
SizeTests.cs (2)
33services.AddMemoryCache(options => options.SizeLimit = sizeLimit); 102services.AddMemoryCache(options => options.SizeLimit = sizeLimit);
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCacheOptions.cs (1)
18SizeLimit = 200 * 1024 * 1024;
1 reference to SizeLimit
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
117throw new InvalidOperationException(SR.Format(SR.CacheEntryHasEmptySize, nameof(entry.Size), nameof(_options.SizeLimit)));