[]
        
(Showing Draft Content)

WebDesigner Custom Shared Data Sources

This sample demonstrates enabling shared data sources in ActiveReports WebDesigner with an ASP.NET Core back-end.

Shared DataSources in Web Designer

type=note

Note: To run this sample, you must have

Sample Location

https://github.com/activereports/WebSamples19/tree/main/WebDesigner_CustomSharedDataSources

Details

When you run the sample, the WebDesigner opens in your browser wherein you can use shared data sources in your reports. The project consists of the following elements.

  • wwwroot: Contains index.html and other static resources.
  • Implementation: Contains implementation for 'IReportStore' and 'IResourceRepositoryProvider' .
  • resources: Contains reports, data sources (csv, json, sqlite), and shared data sources (*.rdsx ).
  • Startup.cs: Does the following:
    1. configures the services and middleware used by the application
    2. registers the 'IReportStore' and 'IResourceRepositoryProvider' as singleton services
    3. adds reporting and designer services
    4. sets the path to the ActiveReports.config file, where the SQLite provider is added
    5. configures the reporting and designer middleware
    6. serves static files

See Also

Developers

Configure and Use Shared Data Sources