The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDocumentViewerConfigurationBuilder.UseEmptyStoragesCleaner() Method

Replaces the service used to clean the document storage with an empty service, to avoid automatic cleaning of this storage.

Namespace: DevExpress.AspNetCore.Reporting

Assembly: DevExpress.AspNetCore.Reporting.v19.1.dll


public WebDocumentViewerConfigurationBuilder UseEmptyStoragesCleaner()
Public Function UseEmptyStoragesCleaner As WebDocumentViewerConfigurationBuilder


Type Description

A WebDocumentViewerConfigurationBuilder that can be used to further configure the Web Document Viewer services.


According to the time settings specified in the CacheCleanerSettings and StorageCleanerSettings classes, the default cleaner service periodically checks if the cache and file storage (FileReportStorage, FileDocumentStorage and FileExportedDocumentStorage) contain reports/documents/exported documents whose lifetime exceeds a certain amount of time. If such reports/documents/exported documents are found, they are deleted. Call the UseEmptyStoragesCleaner method to register an empty storage cleaner instead of the default one, so that documents are not removed automatically.

See Also