This document describes the capability to provide a Web Dashboard with a set of default data sources, which will be available for end-users.
To achieve this goal, create the required data sources at runtime. You can use the following data source types.
After you create the required data sources, register them in a storage of data sources using the DashboardConfigurator.SetDataSourceStorage method.
Note that you can use a predefined implementation of the in-memory storage (DataSourceInMemoryStorage) or you can implement the IDataSourceStorage interface to provide custom data source storage. To see an example on how to do this, refer to the following topic: How to: Create an ASP.NET MVC Dashboard Designer Application with Predefined Data Sources.
The Web Dashboard saves user credentials used by data sources to the dashboard XML definition. Use the boolean DashboardConfigurator.PassCredentials property to specify whether to pass this information to the client side (web browser). Set this property to false and provide connection parameters in one of the following ways to avoid any security issues: