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)


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.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?