Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DefaultProviderName Property

OutputCacheSection.DefaultProviderName Property

.NET Framework 4.6 and 4.5

Gets or sets the name of the ASP.NET default output-cache provider that is stored in the OutputCacheSection element of a configuration file.

Namespace:  System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("defaultProvider", DefaultValue = "AspNetInternalProvider")]
[StringValidatorAttribute(MinLength = )]
public string DefaultProviderName { get; set; }

Property Value

Type: System.String
The name of the default provider.

The default output-cache provider for ASP.NET is not a provider of type OutputCacheProvider. It is the original, in-memory provider that is used by ASP.NET for output caching. The default value is AspNetInternalProvider.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft