MvcCacheOptions Class

Summary

Provides programmatic configuration for caching in the MVC framework.

Syntax

public class MvcCacheOptions

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.MvcCacheOptions

Properties

CacheProfiles()

Gets a Dictionary of CacheProfile Names, [Microsoft.AspNet.Mvc.CacheProfile](Microsoft.AspNet.Mvc.CacheProfile.yml) which are pre-defined settings for [Microsoft.AspNet.Mvc.ResponseCacheFilter](Microsoft.AspNet.Mvc.ResponseCacheFilter.yml).

Return type:System.Collections.Generic.IDictionary{System.String,Microsoft.AspNet.Mvc.CacheProfile}
public IDictionary<string, CacheProfile> CacheProfiles { get; }