Class Reference

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.

HttpSessionState Class

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  

HttpCachePolicy

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  

HttpCacheVaryByHeaders

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    

HttpCacheVaryByParams

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

Cache

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  

CacheDependency

Member of System.Web.Caching .

Assembly: System.Web.dll.

Keeps track of dependencies for items in the cache. This class cannot be inherited from.

Constructors
 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


C# Developer[ap]s Guide to ASP. NET, XML, and ADO. NET
C# Developer[ap]s Guide to ASP. NET, XML, and ADO. NET
ISBN: 672321556
EAN: N/A
Year: 2005
Pages: 103

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net