The configuration for the viewer and the designer can be set at runtime by using UseConfig(IConfigurationProvider) method in the Startup.cs file.
Startup.cs |
Copy Code
|
---|---|
app.UseReportViewer(settings => { settings.UseFileStore(ReportsDirectory); settings.UseConfig(new ConfigurationProvider(Path.Combine(CurrentDir, "ActiveReports.config"))); }); |