Microsoft.AspNetCore.Mvc.TagHelpers.Cache Namespace

namespace Microsoft.AspNetCore.Mvc.TagHelpers.Cache

Interfaces

interface IDistributedCacheTagHelperFormatter
An implementation of this interface provides a service to serialize html fragments for being store by Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage
interface IDistributedCacheTagHelperService
An implementation of this interface provides a service to process the content or fetches it from cache for distributed cache tag helpers.
interface IDistributedCacheTagHelperStorage
An implementation of this interface provides a service to cache distributed html fragments from the <distributed-cache> tag helper.

Classes

class CacheTagKey
An instance of Microsoft.AspNetCore.Mvc.TagHelpers.Cache.CacheTagKey represents the state of Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelper or Microsoft.AspNetCore.Mvc.TagHelpers.DistributedCacheTagHelper keys.
class DistributedCacheTagHelperFormatter
Implements Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter by serializing the content in UTF8.
class DistributedCacheTagHelperFormattingContext
Represents an object containing the information to serialize with Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperFormatter.
class DistributedCacheTagHelperService
Implements Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperService and ensures multiple concurrent requests are gated. The entries are stored like this: <ul><li>Int32 representing the hashed cache key size.</li><li>The UTF8 encoded hashed cache key.</li><li>The UTF8 encoded cached content.</li></ul>
class DistributedCacheTagHelperStorage
Implements Microsoft.AspNetCore.Mvc.TagHelpers.Cache.IDistributedCacheTagHelperStorage by storing the content in using Microsoft.Extensions.Caching.Distributed.IDistributedCache as the store.