System.Web
2.0.0.0
System.Configuration.ConfigurationSectionGroup
The class provides a way to programmatically access and modify the caching section of a configuration file.
The class and the caching section provide centralized control of the caching mechanism for a site or application. This makes it possible for caching to be deployed, modified, and disabled without modifying individual pages in the application.
The ASP.NET caching mechanism is implemented by the class. For more information, see ASP.NET Caching Overview
The following list describes the two types of caching ASP.NET provides.
-
The first is called output caching, which allows you to store dynamic page and user control responses. On subsequent requests, the page or user control code is not executed; the cached output is used to satisfy the request. You can access output caching settings using the and properties.
-
The second type of caching is traditional application data caching, which you can use to programmatically store arbitrary objects to server memory so your application can save the time and resources it takes to recreate them. You can access these cache settings using the property.
Configures the caching group within a configuration file. This class cannot be inherited.
Constructor
The constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the class by using the method.
Creates a new instance of .
2.0.0.0
Property
System.Configuration.ConfigurationProperty("cache")
System.Web.Configuration.CacheSection
To be added.
The object refers to the cache section of the configuration file. You can use the class to modify the cache section programmatically.
Gets the cache section contained within the configuration.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("outputCache")
System.Web.Configuration.OutputCacheSection
To be added.
The object refers to the outputCache section of the configuration file.
Gets the outputCache section contained within the configuration.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("outputCacheSettings")
System.Web.Configuration.OutputCacheSettingsSection
To be added.
The object refers to the outputCacheSettings section of the configuration file.
The output cache settings enable or disable disk-based persistent output cache, define the location for persisting the data to be cached, and specify the maximum size of the cache per application.
ASP.NET allows you to cache multiple versions of a page response declaratively by using attributes of the @ OutputCache directive and programmatically using the properties and methods of the class.
You can achieve the same results by configuring the application using the or the type.
Gets the outputCacheSettings section contained within the configuration.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("sqlCacheDependency")
System.Web.Configuration.SqlCacheDependencySection
To be added.
The object refers to the sqlCacheDependency section of the configuration file.
The SQL cache dependency establishes a relationship between an item stored in an ASP.NET application's cache and a specific SQL Server database table. An instance of the class must monitor the table so that when the table changes the item will be automatically removed from the cache.
Gets the sqlCacheDependency section contained within the configuration.
2.0.0.0