[]
        
(Showing Draft Content)

Configure ActiveReports Using Code

The configuration for the viewer and the designer can be set at runtime by using UseConfig(IConfigurationProvider) method in the Startup.cs file.

app.UseReportViewer(settings =>
 {
     settings.UseFileStore(ReportsDirectory);
     settings.UseConfig(new ConfigurationProvider(Path.Combine(CurrentDir, "ActiveReports.config")));
 });

See Also

DevOps

Configure ActiveReports using Config File