|
1 | | -<!-- default badges list --> |
2 | | - |
3 | | -[](https://supportcenter.devexpress.com/ticket/details/T949514) |
4 | | -[](https://docs.devexpress.com/GeneralInformation/403183) |
5 | | -<!-- default badges end --> |
6 | | -*Files to look at*: |
7 | | - |
8 | | -* [Default.aspx.cs](./CS/AspNetWebFormsDataFederation/Default.aspx.cs) (VB: [Default.aspx.vb](./VB/AspNetWebFormsDataFederation/Default.aspx.vb)) |
9 | | - |
10 | | -# ASP.NET Web Forms Dashboard - How to Register a Federated Data Source |
11 | | - |
12 | | -This example registers the [DashboardFederationDataSource](https://docs.devexpress.com/Dashboard/DevExpress.DashboardCommon.DashboardFederationDataSource) from the following set of [data sources](https://docs.devexpress.com/Dashboard/116522): |
13 | | - |
14 | | -* [DashboardSqlDataSource](https://docs.devexpress.com/Dashboard/401437) (the SQLite database) |
15 | | -* [DashboardExcelDataSource](https://docs.devexpress.com/Dashboard/401433) |
16 | | -* [DashboardObjectDataSource](https://docs.devexpress.com/Dashboard/401435) |
17 | | -* [DashboardJsonDataSource](https://docs.devexpress.com/Dashboard/401431) |
18 | | - |
19 | | -The federated data source is stored in the in-memory storage ([DataSourceInMemoryStorage](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.DataSourceInMemoryStorage)) and is available from the [Add Data Source](https://docs.devexpress.com/Dashboard/117456/web-dashboard/create-dashboards-on-the-web/providing-data/manage-data-sources) dialog. Note that when you add a federated data source to a dashboard, all data sources used in the federated data source are also added to the dashboard. |
20 | | - |
21 | | - |
22 | | - |
23 | | -This example demonstrates the following query types you can use to create a data federation: |
24 | | - |
25 | | -* **Join** |
26 | | - |
27 | | - Combines rows from two or more tables based on a clause. The join type specifies records that have matching values in both tables. |
28 | | - |
29 | | -* **Union and UnionAll** |
30 | | - |
31 | | - The **Union** query combines rows from two or more tables into one data set and removes duplicate rows in merged tables. The **UnionAll** query does the same, except it doesn't remove duplicated rows. You can create a union query for data sources if data types of their columns are [implicitly converted](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions#implicit-conversions). |
32 | | - |
33 | | -* **Transformation** |
34 | | - |
35 | | - If a data source contains a complex column (an object), you can transform its properties to display them as separate columns in a flattened view. If one of the data columns is an array, you can unfold its values and display a new data row for every element of the array. When you unfold the column, you can flatten it and create a flattened view |
36 | | - |
37 | | - |
38 | | -## Documentation |
39 | | - |
40 | | -* [ASP.NET Web Forms Framework - Register a Federated Data Source](https://docs.devexpress.com/Dashboard/402458) |
41 | | -* [Register Default Data Sources](https://docs.devexpress.com/Dashboard/116300) |
42 | | - |
43 | | -## Examples |
44 | | - |
45 | | -- [ASP.NET Core Dashboard - How to Register a Federated Data Source](https://github.com/DevExpress-Examples/aspnet-core-dashboard-data-federation) |
46 | | -- [ASP.NET MVC Dashboard - How to Register a Federated Data Source](https://github.com/DevExpress-Examples/aspnet-mvc-dashboard-data-federation) |
| 1 | +<!-- default badges list --> |
| 2 | + |
| 3 | +[](https://supportcenter.devexpress.com/ticket/details/T949514) |
| 4 | +[](https://docs.devexpress.com/GeneralInformation/403183) |
| 5 | +<!-- default badges end --> |
| 6 | +*Files to look at*: |
| 7 | + |
| 8 | +* [Default.aspx.cs](./CS/AspNetWebFormsDataFederation/Default.aspx.cs) (VB: [Default.aspx.vb](./VB/AspNetWebFormsDataFederation/Default.aspx.vb)) |
| 9 | + |
| 10 | +# ASP.NET Web Forms Dashboard - How to Register a Federated Data Source |
| 11 | + |
| 12 | +This example registers the [DashboardFederationDataSource](https://docs.devexpress.com/Dashboard/DevExpress.DashboardCommon.DashboardFederationDataSource) from the following set of [data sources](https://docs.devexpress.com/Dashboard/116522): |
| 13 | + |
| 14 | +* [DashboardSqlDataSource](https://docs.devexpress.com/Dashboard/401437) (the SQLite database) |
| 15 | +* [DashboardExcelDataSource](https://docs.devexpress.com/Dashboard/401433) |
| 16 | +* [DashboardObjectDataSource](https://docs.devexpress.com/Dashboard/401435) |
| 17 | +* [DashboardJsonDataSource](https://docs.devexpress.com/Dashboard/401431) |
| 18 | + |
| 19 | +The federated data source is stored in the in-memory storage ([DataSourceInMemoryStorage](https://docs.devexpress.com/Dashboard/DevExpress.DashboardWeb.DataSourceInMemoryStorage)) and is available from the [Add Data Source](https://docs.devexpress.com/Dashboard/117456/web-dashboard/create-dashboards-on-the-web/providing-data/manage-data-sources) dialog. Note that when you add a federated data source to a dashboard, all data sources used in the federated data source are also added to the dashboard. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +This example demonstrates the following query types you can use to create a data federation: |
| 24 | + |
| 25 | +* **Join** |
| 26 | + |
| 27 | + Combines rows from two or more tables based on a clause. The join type specifies records that have matching values in both tables. |
| 28 | + |
| 29 | +* **Union and UnionAll** |
| 30 | + |
| 31 | + The **Union** query combines rows from two or more tables into one data set and removes duplicate rows in merged tables. The **UnionAll** query does the same, except it doesn't remove duplicated rows. You can create a union query for data sources if data types of their columns are [implicitly converted](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions#implicit-conversions). |
| 32 | + |
| 33 | +* **Transformation** |
| 34 | + |
| 35 | + If a data source contains a complex column (an object), you can transform its properties to display them as separate columns in a flattened view. If one of the data columns is an array, you can unfold its values and display a new data row for every element of the array. When you unfold the column, you can flatten it and create a flattened view |
| 36 | + |
| 37 | + |
| 38 | +## Documentation |
| 39 | + |
| 40 | +* [ASP.NET Web Forms Framework - Register a Federated Data Source](https://docs.devexpress.com/Dashboard/402458) |
| 41 | +* [Register Default Data Sources](https://docs.devexpress.com/Dashboard/116300) |
| 42 | + |
| 43 | +## Examples |
| 44 | + |
| 45 | +- [ASP.NET Core Dashboard - How to Register a Federated Data Source](https://github.com/DevExpress-Examples/aspnet-core-dashboard-data-federation) |
| 46 | +- [ASP.NET MVC Dashboard - How to Register a Federated Data Source](https://github.com/DevExpress-Examples/aspnet-mvc-dashboard-data-federation) |
0 commit comments