OutputCacheSection.DefaultProviderName Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 = 1)]
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
Available since 4.0
Return to top