Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
StiCacheHelper controls where it is stored.public class StiFileCacheHelper : StiCacheHelper
{
public override void SaveReport(StiReport report, string guid)
{
var packed = guid.EndsWith(GUID_ReportTemplate)
? report.SavePackedReportToString() : report.SavePackedDocumentToString();
File.WriteAllText(CachePath(guid), packed);
}
public override StiReport GetReport(string guid) { /* load packed report/document */ }
public override void RemoveReport(string guid) { /* delete the cache file */ }
}Register the helper on the viewer.StiNetCoreViewer.CacheHelper = new StiFileCacheHelper();SavePackedReportToString/SavePackedDocumentToString — serialize the template or the rendered document for storage.StiNetCoreViewer.CacheHelper — plug in your helper; the default caches in session, this variant caches to files.