skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class ReportsControllerConfiguration

Provides static methods for registering Telerik Reporting Web API routes in ASP.NET Web API applications.

Inheritance
System.Object
ReportsControllerConfiguration
Namespace: Telerik.Reporting.Services.WebApi
Assembly: Telerik.Reporting.Services.WebApi.dll

Syntax

public class ReportsControllerConfiguration
Remarks

This class handles the automatic registration of all necessary routes for the Telerik Reporting REST service endpoints. Use this class during application startup to configure routing for report viewing, document generation, and client management.

Constructors

ReportsControllerConfiguration()

Declaration
public ReportsControllerConfiguration()

Methods

RegisterRoutes(HttpConfiguration)

Registers all necessary Telerik Reporting Web API routes using the default "api" path prefix.

Declaration
public static void RegisterRoutes(HttpConfiguration config)
Parameters
System.Web.Http.HttpConfiguration config

The HTTP configuration object to register the routes with.

Remarks

This method registers routes with the standard "api/{controller}" pattern commonly used in Web API applications. All Telerik Reporting service endpoints will be accessible under the "/api/reports" path by default. Call this method during application startup, typically in the WebApiConfig.Register method.

RegisterRoutes(HttpConfiguration, String)

Registers all necessary Telerik Reporting Web API routes with a custom path prefix to avoid routing conflicts.

Declaration
public static void RegisterRoutes(HttpConfiguration config, string firstPathSegment)
Parameters
System.Web.Http.HttpConfiguration config

The HTTP configuration object to register the routes with.

System.String firstPathSegment

The custom path segment to use as the first part of all route templates. For example, "reportingapi" would create routes like "/reportingapi/reports/clients".

Remarks

Use this overload when you need to avoid routing conflicts with other Web API services in your application. When using a custom path segment, ensure that your client-side report viewer is configured to use the corresponding service URL. For example, if you use "reportingapi" as the path segment, configure the report viewer's serviceUrl to "/reportingapi/reportviewer". This method registers all endpoints needed for report viewing, document generation, client session management, and AI integration.

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.