OutputCache.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 the name of the default provider that is configured for the output cache.

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

public static string DefaultProviderName { get; }

Property Value

Type: System.String

The name of the default provider.

By default, all HTTP responses, rendered pages, and controls use AspNetInternalProvider, the in-memory output cache provider. To use a different provider, set the defaultProvider attribute to the name of the alternative provider.

.NET Framework
Available since 4.0
Return to top