OutputCacheSection.DefaultProviderName Property

Definition

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

public:
 property System::String ^ DefaultProviderName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue="AspNetInternalProvider")]
[System.Configuration.StringValidator(MinLength=1)]
public string DefaultProviderName { get; set; }
[<System.Configuration.ConfigurationProperty("defaultProvider", DefaultValue="AspNetInternalProvider")>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.DefaultProviderName : string with get, set
Public Property DefaultProviderName As String

Property Value

The name of the default provider.

Attributes

Remarks

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.

Applies to