Skip to main content
A newer version of this page is available. .

Prepare a Dashboard Storage

  • 2 minutes to read

The Web Dashboard requires creating a special storage used to keep dashboards. End-users can save new dashboards to this storage and open existing dashboards.

The following storage types are available:

  • In-Memory Storage
  • File Storage
  • Custom Storage
  • Dashboard Type Storage (works in the Viewer mode only)

Initialize the required storage type and pass the resulting object to the DashboardConfigurator.SetDashboardStorage method to specify a storage for the ASP.NET MVC Dashboard extension.

Storage Type

Class

Description

In-Memory Storage

DashboardInMemoryStorage

An in-memory dashboard storage is a default storage used to keep dashboards.

Note

The Web Dashboard uses the DashboardInMemoryStorage by default if you do not create storage.

File Storage

DashboardFileStorage

A file dashboard storage is used to keep dashboards in a file system.

Custom Storage

Implementation of IDashboardStorage or IEditableDashboardStorage

If necessary, you can provide your logic for managing dashboards. To do this, implement the IDashboardStorage or IEditableDashboardStorage interfaces that provide an API used to manage dashboards:

How to: Save Dashboards Created in ASPxDashboard to a DataSet

Dashboard Type Storage

DashboardTypeStorage

A dashboard storage created at design time within Visual Studio. Note that you can use DashboardTypeStorage in the Viewer mode only.