for RuBoard |
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.
Properties | ||
---|---|---|
CodePage | Contents | Count |
IsCookieless | IsNewSession | IsReadOnly |
IsSynchronized | Item | Keys |
LCID | Mode | SessionID |
StaticObjects | SyncRoot | TimeOut |
Methods | ||
Abandon | Add | Clear |
CopyTo | GetEnumerator | Remove |
RemoveAll | RemoveAt |
Member of System.Web .
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.
Properties | ||
---|---|---|
VaryByHeaders | VaryByParams | |
Methods | ||
AddValidationCallback | AppendCacheExtension | SetCacheability |
SetETag | SetETagFromFile Dependencies | SetExpires |
SetLastModified | SetLastModifiedFrom FileDependencies | SetMaxAge |
SetNoServerCaching | SetNoStore | SetNoTransforms |
SetProxyMagAge | SetRevalidation | SetSliding Expiration |
SetValidUntilExpires | SetVaryByCustom |
Member of System.Web .
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 |
Member of System.Web .
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 .
Assembly: System.Web.dll.
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 |
Member of System.Web.Caching .
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 |
for RuBoard |