dashboard-devexpress-dot-dashboardcommon-56f2413a.md
Defines members for data source cache keys.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public interface IDataSourceCacheKey
Public Interface IDataSourceCacheKey
The following members return IDataSourceCacheKey objects:
Data source cache keys in the Web Dashboard Control store the following data:
Together these fields form a unique cache identifier. Every time the control needs data, it builds such a key/identifier and raises DashboardConfigurator.DataSourceCacheKeyCreated and ASPxDashboard.DataSourceCacheKeyCreated events. Handle these event to modify the key. Any modifications (for example, a parameter value change) result in the creation of a new data source instance in the cache, unless the corresponding instance already exists.
If the control creates a new cached data source instance, it raises the DataLoading or ConfigureDataConnection event.
For more information on the caching mechanism in the Web Dashboard Control, refer to the following topic: Manage an In-Memory Data Cache.
See Also
Manage an In-Memory Data Source Cache in ASP.NET MVC and ASP.NET Core