17 references to Set
CookieSessionSample (1)
MemoryCacheTicketStore.cs (1)
38_cache.Set(key, ticket, options);
HtmlGenerationWebSite (1)
ProductsService.cs (1)
41products = _memoryCache.Set<IEnumerable<Product>>(
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateValidationCache.cs (1)
59_cache.Set(ComputeKey(certificate), result.Clone(), new MemoryCacheEntryOptions()
Microsoft.AspNetCore.Authentication.Negotiate (1)
Internal\LdapAdapter.cs (1)
88settings.ClaimsCache.Set(user,
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
157DisconnectedCircuits.Set(circuitHost.CircuitId.Secret, entry, entryOptions);
Microsoft.AspNetCore.HeaderParsing (1)
HeaderKey.cs (1)
69internal void AddCachedValue(StringValues values, object o) => _valueCache!.Set(values, o, _cacheEntryOptions);
Microsoft.AspNetCore.Mvc.Razor (3)
Infrastructure\DefaultFileVersionProvider.cs (1)
83Cache.Set(path, value, cacheEntryOptions);
RazorViewEngine.cs (2)
207cacheResult = ViewLookupCache.Set( 387ViewLookupCache.Set(cacheKey, cacheResult, cacheEntryOptions);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
156_cache.Set(normalizedPath, taskSource.Task, cacheEntryOptions);
Microsoft.AspNetCore.Mvc.TagHelpers (2)
CacheTagHelper.cs (1)
102_ = MemoryCache.Set(cacheKey, tcs.Task, options);
GlobbingUrlBuilder.cs (1)
144return Cache.Set(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
CacheTagHelperTest.cs (1)
505cache.Set("key1", tagHelperContent, cacheEntryOptions);
Microsoft.AspNetCore.OutputCaching (1)
Memory\MemoryOutputCacheStore.cs (1)
129_cache.Set(key, value, options);
Microsoft.AspNetCore.ResponseCaching (2)
MemoryResponseCache.cs (2)
41_cache.Set( 58_cache.Set(
Microsoft.Extensions.Caching.Memory (1)
MemoryDistributedCache.cs (1)
84_memCache.Set(key, value, memoryCacheEntryOptions);