Class ReportsControllerConfiguration
Represents the report controller configuration.
Inheritance
Namespace: Telerik.Reporting.Services.WebApi
Assembly: Telerik.Reporting.Services.WebApi.dll
Syntax
public class ReportsControllerConfiguration
Constructors
ReportsControllerConfiguration()
Declaration
public ReportsControllerConfiguration()
Methods
RegisterRoutes(HttpConfiguration)
Registers report controller's routes in the application configuration.
Declaration
public static void RegisterRoutes(HttpConfiguration config)
Parameters
System.Web.Http.HttpConfiguration
config
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
System.Web.Http.HttpConfiguration
config
The application configuration to add the routes to. |
System.String
firstPathSegment
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. |