Back to Devexpress

Add Reports V2 Module to an Existing XAF Application

expressappframework-404243-shape-export-print-data-reports-add-reports-module-to-an-existing-xaf-application.md

latest2.4 KB
Original Source

Add Reports V2 Module to an Existing XAF Application

  • Aug 28, 2025
  • 2 minutes to read

To add the Reports V2 module to an existing XAF application, install the appropriate NuGet package:

PlatformModuleNuGet package
platform-agnosticReportsModuleV2DevExpress.ExpressApp.ReportsV2
ASP.NET Core BlazorDevExpress.ExpressApp.ReportsV2.Blazor.ReportsBlazorModuleV2DevExpress.ExpressApp.ReportsV2.Blazor
WinFormsReportsWindowsFormsModuleV2DevExpress.ExpressApp.ReportsV2.Win

Next, use either of the following techniques:

The following additional steps may be required:

Entity Framework Core-Based Application

  1. Navigate to the MySolution.Module\BusinessObjects\MySolutionDbContext.cs file and include the ReportDataV2 entity in the data model:

  2. Navigate to the MySolution.Blazor.Server\Startup.cs file (ASP.NET Core Blazor) or the MySolution.Win\Startup.cs file (Windows Forms) and specify the ReportDataType explicitly:

ASP.NET Core Blazor Application Without Application Builder

  1. Navigate to the MySolution.Blazor.Server\Startup.cs file and call AddXafReporting in the Startup.ConfigureServices method to register the Reports V2 Module services in IServiceCollection: