Progress® Telerik® Reporting R3 2018

ReportsControllerConfigurationRegisterRoutes Method (HttpConfiguration, String)

Registers report controller's routes in the application configuration.

Namespace:  Telerik.Reporting.Services.WebApi
Assembly:  Telerik.Reporting.Services.WebApi (in Telerik.Reporting.Services.WebApi.dll) Version: (


public static void RegisterRoutes(
	HttpConfiguration config,
	string firstPathSegment


Type: HttpConfiguration
The application configuration to add the routes to
Type: SystemString
The first path segment to include in the route template. For example, "api" is the default literal path segment in the "api/{controller}" route template. Use this overload and pass a unique path segment (e.g. "reportingapi") to avoid collisions with other Web API services. Then modify the report viewer client to use the custom service URL address.

See Also

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

Give article feedback

Tell us how we can improve this article