Skip to main content
All docs
V25.1
  • StartupExtensions.AddDevExpressWebAssemblyBlazorReportViewer(IServiceCollection) Method

    Adds DevExpress Report Viewer-related services to the Blazor WebAssembly application’s service collection.

    Namespace: Microsoft.Extensions.DependencyInjection

    Assembly: DevExpress.Blazor.Reporting.v25.1.Viewer.dll

    NuGet Package: DevExpress.Blazor.Reporting.Viewer

    Declaration

    public static void AddDevExpressWebAssemblyBlazorReportViewer(
        this IServiceCollection services
    )

    Parameters

    Name Type Description
    services IServiceCollection

    The application’s service collection.

    Remarks

    Call the AddDevExpressWebAssemblyBlazorReportViewer method at Blazor WebAssembly application startup to register Report Viewer-related services in your application.

    var builder = WebApplication.CreateBuilder(args);
    // ...
    builder.Services.AddDevExpressWebAssemblyBlazorReportViewer();
    // ...
    var app = builder.Build();
    
    See Also