ClassReportDesignerControllerConfiguration
Represents the report controller configuration.
Definition
Namespace:Telerik.WebReportDesigner.Services.WebApi
Assembly:Telerik.WebReportDesigner.Services.dll
Syntax:
public class ReportDesignerControllerConfiguration
Inheritance: objectReportDesignerControllerConfiguration
Constructors
ReportDesignerControllerConfiguration()
Declaration
public ReportDesignerControllerConfiguration()
Methods
RegisterRoutes(HttpConfiguration)
Registers report controller's routes in the application configuration.
Declaration
public static void RegisterRoutes(HttpConfiguration config)
Parameters
config
HttpConfiguration
The application configuration to add the routes to
Remarks
Registers report controller's routes with the default "api" first path segment.
RegisterRoutes(HttpConfiguration, string)
Registers report controller's routes in the application configuration.
Declaration
public static void RegisterRoutes(HttpConfiguration config, string firstPathSegment)
Parameters
config
HttpConfiguration
The application configuration to add the routes to
firstPathSegment
string
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.