Integrating Reports in Apps (Guide)
This guide helps you build a sample report and display it in an application with Telerik embedded reporting. This tutorial uses an ASP.NET Core application.
The tutorial covers the following tasks:
- Install Telerik Reporting.
- Create a sample report with the Standalone Report Designer.
- Create an ASP.NET Core application and add an HTML5 Report Viewer with the required Reporting REST Service through the Visual Studio item template.
At the end, you will be able to see the report in the web browser, export it in different formats, and print it.
For the first-steps scenario on designing a Telerik Report and exporting it to PDF, refer to the getting started guide on designing a report.
Prerequisites
Install Microsoft SQL Server Management Studio before you start. For more information about supported third-party tooling versions, see the Telerik Reporting system requirements.
Step 1: Install Telerik Reporting
The steps to accomplish the installation of the Telerik Reporting controls and services are fully described in the Telerik Reporting installation steps in the designing guide.
Step 2: Create, Populate, and Style the Sample Report
Next, create the report that you will integrate in your web application. The steps required to create, populate with data, and style the report are described in the report creation and styling steps in the designing guide.
Once you have your report, save it as DemoReport.trdp. In the next step, you will integrate the TRDP report in the application.
Step 3: Integrate and Display the Report
In this final step, you integrate your report into an ASP.NET Core web application in .NET 8 and display it with the HTML5 Report Viewer.
-
Open Visual Studio 2022. From the Start window, choose Create a new project.
-
Select ASP.NET Core Web App and name it TelerikWebApp. In the Additional information window, select .NET 8.0 (Long-term support) and leave the other settings at their defaults. Click Create.
-
Right-click the project. Select Add > New Item > Telerik HTML5 Report Viewer Page 2026 Q4. Name the file
index.html. -
In the Configure reporting engine dialog box, leave the default selections: REST Service > Create new REST service. Click Next.

-
Click Sample report definition, and then click Next > Finish.
-
Run the project to verify the setup. Navigate to the
index.htmlpage and verify that the sample report appears. -
Add your
DemoReport.trdpreport to the application. The Visual Studio item template creates aReportsfolder that contains a defaultSampleReport.trdpreport. To addDemoReport.trdpto the same folder, right-click the folder, select Add > Existing Item, and navigate to your report. -
Open the
index.htmlfile that hosts the HTML5 Report Viewer in thewwwrootfolder. Find thereportSourceproperty of the#reportViewer1element that is set up in thedocument.readyevent handler of the page. Change its innerreportelement from"SampleReport.trdp"to"DemoReport.trdp". -
Because the report uses a named connection string, add the connection string to the
appsettings.jsonfile. If the report uses an embedded connection, you do not have to add it again to the Visual Studio project.The JSON configuration file looks similar to the following:
JSON{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "ConnectionStrings": [ { "name": "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString", "connectionString": "Data Source=(local)\\MSSQLSERVER01;Initial Catalog=AdventureWorks;Integrated Security=SSPI", "providerName": "System.Data.SqlClient" } ] }The following image shows how the viewer will display the report upon running the project and navigating to the
index.htmlpage in the browser.
You can now explore the advanced features of Telerik Reporting.