Skip to main content

DashboardFileStorage Class

A file storage used to hold dashboards.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.2.Web.dll

NuGet Package: DevExpress.Web.Dashboard.Common

#Declaration

public class DashboardFileStorage :
    DashboardStorageBase

#Remarks

Use the DashboardConfigurator.SetDashboardStorage method to create a storage that contains dashboards. You can use predefined dashboard storages (DashboardFileStorage or DashboardInMemoryStorage) or you can implement the IDashboardStorage/IEditableDashboardStorage interface to provide your own logic for managing dashboards using the Web Dashboard.

Note

The DashboardInMemoryStorage is used by default if you do not create the dashboard storage.

#Example

The following code snippet shows how to create a dashboard file storage for the Web Dashboard.

View Example

DashboardFileStorage dashboardFileStorage = new DashboardFileStorage("~/App_Data/Dashboards");
ASPxDashboard1.SetDashboardStorage(dashboardFileStorage); 

#Inheritance

Object
DashboardStorageBase
DashboardFileStorage
See Also