HostingEnvironment.Cache Property


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

Gets the Cache instance for the current application.

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

public static Cache Cache { get; }

Property Value

Type: System.Web.Caching.Cache

The current Cache instance.

.NET Framework
Available since 2.0
Return to top