DashboardFileStorage Class
A file storage used to hold dashboards.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v22.1.Web.dll
Declaration
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.
DashboardFileStorage dashboardFileStorage = new DashboardFileStorage("~/App_Data/Dashboards");
ASPxDashboard1.SetDashboardStorage(dashboardFileStorage);
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardFileStorage class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.