Kellerman .NET Caching Library 2.16 » Developer.Team

Kellerman .NET Caching Library 2.16

Kellerman .NET Caching Library 2.16
Kellerman .NET Caching Library 2.16


The .NET Caching Library by Kellerman Software can take on many different roles when it comes to caching. Its primary role is to be utilized for client side caching for desktop, Silverlight, and Windows Phone 7 applications. It can also perform distributed caching for use in a web farm. Similar to our other components, the .NET Caching Library is super easy to configure and use. When client caching is used, the client contains a local memory cache and a local back store of files, isolated storage, or a local database such as Ninja Database Pro, MS Access, Sqlite, or VistaDb. When distributed caching is used, each web server contains a local memory cache with a shared back store of SQL Server, Oracle, or MySql. Encryption of the back store cache is as simple as setting a property. The .NET Caching Library is the only product available that supports client side caching. It supports all .NET project types including WPF, Winforms, ASP.NET, Silverlight, Web Services, WCF, and Windows Phone 7. It supports all .NET languages including VB.NET and C#. Download the full list of features.

Example of loading a monthly sales report from the cache. It demonstrates attaching a file storage provider and loading and saving to the cache.

//Attach a file cache provider

SmartCache .Storage= new FileCacheProvider ();

//Build parameters for the report
int month = DateTime .Now.Month; 
int year = DateTime .Now.Year;
 
//Get the cache key based on the report parameters
//The get cache key method uses reflection to ensure uniqueness
string cacheKey = SmartCache .GetCacheKey(month, year);
 
//Attempt to load the report from the cache
List < ReportDetail > report = SmartCache .Load< List < ReportDetail >>(cacheKey);
 
//Not found in the cache
if (report == null )
{
//Load the report from the database
report = ReportLogic .MonthlySalesReport(month, year);
 
//Save to the cache using the default expiration type and default expiration minutes
SmartCache .Save< List < ReportDetail >>(cacheKey, report);
}


Q: How do I use my license key?
A: SmartCache.UserName ="my user name";
SmartCache.LicenseKey= "my license key";

Q: I lost my license key how do I retrieve it?
A: Go to your account

Q: I lost my software how do I retrieve it?
A: Go to downloads

Q: How does the licensing work?
A: The .NET Caching Library may be installed on an unlimited number of servers, developer workstations, and end user workstations.

Only for V.I.P
Warning! You are not allowed to view this text.