Replies: 1 comment 4 replies
-
Generally these types of issues are related to assembly loading. In a standard .NET Core project all dependencies are statically linked so the system knows what needs to be loaded at startup. In a modular framework like Oqtane there is no static linking - everything is loaded dynamically. So my question would be how your datasource Web API class library is being loaded at runtime? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are implementing SyncFusion BoldReports, and have been able to do so successfully by creating a class that implements and IServerStartup and IHostResources. There are additional features we need to implement, namely adding new data sources. The data source is a WebAPI datasource that is located in a different class library. In an brand new project, we were able to implement this without an issue. Here's the documentation.
https://help.boldreports.com/embedded-reporting/how-to/configure-webapi-data-extension-for-report-designer/
Basically, all you need is this line:
ReportConfig.DefaultSettings = new ReportSettings().RegisterExtensions(new List { "BoldReports.Data.WebData" });
For some reason this does not work in Oqtane. We can not get the web api data sources to register. Attached is the class we have implemented. Any suggestions on why this would not work?
BoldReportService .txt
Beta Was this translation helpful? Give feedback.
All reactions