Progress® Telerik® Reporting R3 2018

ReportsHostBaseReportServiceConfiguration Property

Gets or sets the configuration of the report service.

Namespace:  Telerik.Reporting.Services.ServiceStack
Assembly:  Telerik.Reporting.Services.ServiceStack (in Telerik.Reporting.Services.ServiceStack.dll) Version: R3 2018 SP1


public IReportServiceConfiguration ReportServiceConfiguration { get; set; }

Property Value

Type: IReportServiceConfiguration


When inheriting the ReportsControllerBase controller basic configuration is needed. Provide an object implementing the IReportServiceConfiguration 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.


This example shows how to configure WebAPI service using the ReportServiceConfiguration object.
public class ReportsHost : Telerik.Reporting.Services.ServiceStack.ReportsHostBase
    public ReportsHost()
        var reportsPath = System.Web.HttpContext.Current.Server.MapPath(@"~\Reports");
        var resolver = new Telerik.Reporting.Services.ServiceStack.ReportFileResolver(reportsPath)
            .AddFallbackResolver(new Telerik.Reporting.Services.ServiceStack.ReportTypeResolver());

        var reportServiceConfiguration = new Telerik.Reporting.Services.ReportServiceConfiguration();
        reportServiceConfiguration.HostAppId = "Application1";
        reportServiceConfiguration.ReportResolver = resolver;
        reportServiceConfiguration.Storage = new Telerik.Reporting.Cache.File.FileStorage();

        this.ReportServiceConfiguration = reportServiceConfiguration;

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article