This section provides a quick interface reference to the key objects described in this chapter. Space constraints prevent us from documenting every object in the .NET framework in this book, so for the sake of brevity and conciseness, we include only the most important objects here. For more information on the other objects in the .NET framework, consult the .NET Framework Reference online help file.
Member of System.Web.SessionState.
Assembly: System.Web.dll.
The HttpSessionState class is instantiated and placed inside the Session property of the Page object.
Assembly: System.Web.dll.
The HttpCachePolicy class allows you to control many of the parameters that the <%@ OutputCache %> directive controls. It also adds several more methods to give additional control over caching.
Assembly: System.Web.dll.
The HttpCacheVaryByHeaders class provides a type-safe way to set the VaryByHeaders property of the HttpCachePolicy class for a number of well-known headers.
Properties | ||
---|---|---|
AcceptTypes | Item | UserAgent |
UserCharSet | UserLanguage | |
Methods | ||
VaryByUnspecifiedParameters |
Assembly: System.Web.dll.
The HttpCacheVaryByParams class provides a type safe way to set the VaryByParams property of the HttpCachePolicy class.
Properties | |
---|---|
IgnoreParams | Item |
Member of System.Web.Caching.
The cache class is a store for caching frequently used resources on the server.
Fields | ||
---|---|---|
NoAbsoluteExpiration | NoSlidingExpiration | |
Properties | ||
Count | Item | |
Methods | ||
Add | Get | GetEnumerator |
Insert | Remove |
Assembly: System.Web.dll.
Keeps track of dependencies for items in the cache. This class cannot be inherited from.
public CacheDependency(string); public CacheDependency(string[]); public CacheDependency(string, DateTime); public CacheDependency(string[], DateTime); public CacheDependency(string[], string[]); public CacheDependency(string[], string[], CacheDependency); public CacheDependency(string[], string[], DateTime); public CacheDependency(string[], string[], CacheDependency, DateTime);
Properties |
---|
HasChanged |
Methods |
Dispose |