Progress® Telerik® Reporting R3 2017

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)

Syntax

public static void RegisterRoutes(
	HttpConfiguration config,
	string firstPathSegment
)

Parameters

config
Type: HttpConfiguration
The application configuration to add the routes to
firstPathSegment
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