When inheriting the ReportsControllerBase
controller basic configuration is needed. An object implementing the IReportServiceConfiguration
should be provided in order to configure the report service. This should be done in the controllers' constructor using static object to preserve the configuration between requests or using dependency injection.
ASP.NET Core has built-in support for dependency injection. We are using this functionality to pass the configuration of the Reporting Engine to the ReportsController instances. Since this is a lightweight service the service lifetime is set to transient. More on this topic can be found in Dependency injection in ASP.NET Core
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items