Microsoft Application Block for .NET
- cache
Workflow
2. Cache's main interface
· IDataProtection
Protect Cache data, Cache Framework provides: defaultdataprote
· IcacheiteMexpiration
Cache data expires, Cache Framework offers: absolutetime, extendedformedformattime, FileDependency, SlidingTime.
ISCAVENGINGALGORITHM
Automatically clear the Cache project, Cache Framework provides: lruscavenging
· IcacheStorage
Cache Save, Cache Framework offers: MMFCacheStorage,
SingletoncacheStorage, SQLSERVERCACHESTORAGE
3. Major class
· Cache Manager
Cache Service
Cache Storage
4. Profile
Mainly configured for data protection, data expiration, data clearance, and data storage.
5. Call method
CacheManager.add method Add an object to cache
CacheManager.getdata or getItem method gets an object from cache
CacheManager.flush and remove methods will empty cache or remove an object
-----------------------------------------------
Friendly link Flying Computer Service Station Gold Embodometer Accounting Studio --------------------------------------- ------------
Friendly link Flying Computer Service Station Gold Caucasus Accounting Studio