All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

StartupExtensions.AddDevExpressBlazorReporting(IServiceCollection) Method

Adds the DevExpress Blazor Reporting services to the IServiceCollection collection.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v21.1.JSBasedControls.dll

Declaration

public static IServiceCollection AddDevExpressBlazorReporting(
    this IServiceCollection services
)

Parameters

Name Type Description
services IServiceCollection

A list of service descriptor objects that define services in an application.

Returns

Type Description
IServiceCollection

An updated list of service descriptor objects for subsequent use.

Remarks

The AddDevExpressBlazorReporting method is used to configure DevExpress Blazor Reporting services in a Blazor application. Call the AddDevExpressBlazor method in the project’s Startup.ConfigureServices method:

using DevExpress.AspNetCore;
using DevExpress.Blazor.Reporting;
// ...
public void ConfigureServices(IServiceCollection services)
{
    services.AddDevExpressBlazorReporting();
    // ...
}
See Also