TL;DR:
An ASP.NET MVC report designer lets users build and edit RDL reports in the browser. To add the Bold Reports® Report Designer to an MVC 5 app on .NET Framework 4.6.2 or later, install three NuGet packages, reference the v2.0 styles and scripts in _Layout.cshtml, add the script manager and control, and expose a Web API controller.
Introduction
Organizations often struggle to deliver timely reports when report creation, customization, and maintenance rely heavily on developers. This dependency can slow decision-making, increase development workload, and limit users’ ability to access the insights they need.
Integrating a report designer component into an ASP.NET MVC application solves this challenge by letting users create, edit, and customize reports directly in a web browser. With support for multiple data sources, drag-and-drop report design, and interactive report authoring, users can build and manage reports without leaving the application.
In this tutorial, you’ll learn how to add the report designer component to an ASP.NET MVC application, configure the required dependencies, and enable self-service reporting capabilities that improve productivity, accelerate report development, and reduce reliance on developers.
What is an ASP.NET MVC report designer?
An ASP.NET MVC report designer is a browser-based authoring tool that runs within an MVC application. Users can create reports by adding tables, matrices, charts, gauges, and images, connecting them to data sources, and saving the result as an RDL report definition without a desktop designer.
Bold Reports adds report design capabilities to existing ASP.NET MVC 5 applications through NuGet packages and a Web API service. Because it runs on .NET Framework 4.6.2 or later, adding the designer doesn’t require migrating your application to ASP.NET Core.
Create the project and install the NuGet packages
Prerequisites
Ensure the following software is installed on your machine to get started with ASP.NET MVC 5.
- Visual Studio 2022
- .NET Framework 4.6.2 or later
- ASP.NET MVC 5
Bold Reports supports .NET Framework 4.6.2 and later. According to Microsoft’s support policy, Microsoft supports .NET Framework 4.6.2 until January 12, 2027. For new projects, consider targeting .NET Framework 4.7.2 or 4.8.
Create the ASP.NET MVC 5 project
- Open Visual Studio 2022 and select Create a new project.

Create a new project - Choose ASP.NET Web Application (.NET Framework) and select Next.

Create .NET web application - Enter a project name. In the Framework list, select .NET Framework 4.7.2 or later (4.6.2 is the minimum), then select Create.

Select name and framework - Choose the MVC template and enable the Web API option in the Add folders and core references section.

Choose MVC Web API
Visual Studio creates a default MVC 5 application. Its App_Start folder includes WebApiConfig.cs, which you edit later in this guide.
Install the NuGet packages
- In Solution Explorer, right-click the project or solution and select Manage NuGet Packages.
- On the Browse tab, search for and install these three packages:
| Package | Purpose |
|---|---|
| BoldReports.Web | Contains helper methods to create a Web API service to process the reports. |
| BoldReports.Mvc5 | Contains HTML helpers to create a client-side reporting control. |
| BoldReports.JavaScript | Adds the designer scripts and theme files to the Scripts and Content folders. |
The following table provides details about the dependent packages and their uses.
| Package | Purpose |
|---|---|
| Bold.Licensing | .NET library for validating the registered Bold license in an application at runtime. |
| Syncfusion.Pdf.AspNet | Exports the report to a PDF file. |
| Syncfusion.DocIO.AspNet | Exports the report to a Word document. |
| Syncfusion.XlsIO.AspNet | Exports the report to an Excel worksheet. |
| Syncfusion.Presentation.AspNet | Exports the report to a PowerPoint file. |
| Newtonsoft.Json | Serializes and deserializes data for the Report Designer. It is a mandatory package for Report Designer, and the package version should be 13.0.3 or higher. |
NuGet automatically restores dependencies such as the licensing library. Before you install, check the BoldReports.Mvc5 listing on NuGet.org for the current version and its supported target frameworks. The full dependency list is on the help site’s NuGet packages and dependencies pages.
Note: Bold Reports reporting components require a valid license token. For setup instructions, refer to the Bold Reports licensing guide.
Configure Web.config and the layout
Register the namespace and turn off unobtrusive JavaScript
An MVC 5 project has two Web.config files: one in the Views folder and one in the project root. Step 7 edits the first and step 8 edits the second.
- Open ~/Views/Web.config and add the
BoldReports.Mvcnamespace under thenamespacestag.<namespaces> <add namespace="BoldReports.Mvc"/> </namespaces> - Open the Web.config in the project root and set
UnobtrusiveJavaScriptEnabledtofalseinappSettings.<configuration> <appSettings> .... .... <add key="UnobtrusiveJavaScriptEnabled" value="false" /> </appSettings> .... .... </configuration>
Web.config setting
If you want to keep UnobtrusiveJavaScriptEnabled on, use the ej.unobtrusive.min.js script in your application instead. You can get the script from the installed location, as shown in the following image.

Reference the scripts and styles
- Open ~/Views/Shared/_Layout.cshtml and replace its contents with the following. Keep the references in this order.
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Styles.Render("~/Content/bold-reports/v2.0/tailwind-light/bold.report-designer.min.css") @Styles.Render("~/Scripts/CodeMirror/lib/codemirror.css") @Styles.Render("~/Scripts/CodeMirror/addon/hint/show-hint.css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div style="height: 600px;width: 100%;"> @RenderBody() </div> @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @Scripts.Render("~/Scripts/CodeMirror/lib/codemirror.js") @Scripts.Render("~/Scripts/CodeMirror/addon/hint/show-hint.js") @Scripts.Render("~/Scripts/CodeMirror/addon/hint/sql-hint.js") @Scripts.Render("~/Scripts/CodeMirror/mode/sql/sql.js") @Scripts.Render("~/Scripts/CodeMirror/mode/vb/vb.js") <!-- Report Designer component dependent scripts --> @Scripts.Render("~/Scripts/bold-reports/v2.0/common/bold.reports.common.min.js") @Scripts.Render("~/Scripts/bold-reports/v2.0/common/bold.reports.widgets.min.js") <!-- Report Viewer and Designer component scripts --> @Scripts.Render("~/Scripts/bold-reports/v2.0/bold.report-viewer.min.js") @Scripts.Render("~/Scripts/bold-reports/v2.0/bold.report-designer.min.js") @RenderSection("scripts", required: false) </body> </html>
Confirm that the Content\bold-reports\v2.0 and Scripts\bold-reports\v2.0 folders exist after step 6, because the layout loads files from them. The dependencies page lists the scripts and style sheets the designer needs.
Add the script manager
- In ~/Views/Shared/_Layout.cshtml, add the script manager at the end of the
<body>element, as in the following code sample.<body> .... .... <!-- Bold Reporting ScriptManager --> @Html.Bold().ScriptManager() </body>
Add the designer control to the home view
- Add the Report Designer to any view in the ~/Views folder with the
Bold()helper. For example, replace the contents of ~/Views/Home/Index.cshtml with the following code.@(Html.Bold().ReportDesigner("designer"))
How do you add the Web API controller and routing?
Add the API controller
- Right-click the project, select Add, then New Folder, and name it API so it matches the sample namespace.
- Right-click the new folder, select Add, then New Item, and choose Web API Controller Class. Name it ReportingAPIController.cs, then click Add. The Controller suffix is mandatory.

Add Web API Controller Class
Implement the Web API controller
- Open ReportingAPIController.cs and replace its contents with the following code. It adds the using statements, makes the class inherit
IReportDesignerController, and implements the interface methods.using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using BoldReports.Web; using BoldReports.Web.ReportViewer; using BoldReports.Web.ReportDesigner; using System.IO; using System.Reflection; using System.Web; namespace ReportDesignerSample.Api { public class ReportingAPIController : ApiController, IReportDesignerController { /// <summary> /// Get the path of specific file /// </summary> /// <param name="itemName">Name of the file to get the full path</param> /// <param name="key">The unique key for report designer</param> /// <returns>Returns the full path of file</returns> [NonAction] private string GetFilePath(string itemName, string key) { string dirPath = Path.Combine(HttpContext.Current.Server.MapPath("~/")+ "Cache", key); if (!Directory.Exists(dirPath)) { Directory.CreateDirectory(dirPath); } return Path.Combine(dirPath, itemName); } /// <summary> /// Action (HttpGet) method for getting resource of images in the report. /// </summary> /// <param name="key">The unique key for request identification.</param> /// <param name="image">The name of requested image.</param> /// <returns>Returns the image as HttpResponseMessage content.</returns> [System.Web.Http.ActionName("GetImage")] [AcceptVerbs("GET")] public object GetImage(string key, string image) { return ReportDesignerHelper.GetImage(key, image, this); } /// <summary> /// Action (HttpPost) method for posting the request for designer actions. /// </summary> /// <param name="jsonData">A collection of keys and values to process the designer request.</param> /// <returns>Json result for the current request.</returns> public object PostDesignerAction(Dictionary<string, object> jsonData) { //Processes the designer request and returns the result. return ReportDesignerHelper.ProcessDesigner(jsonData, this, null); } /// <summary> /// Sets the resource into storage location. /// </summary> /// <param name="key">The unique key for request identification.</param> /// <param name="itemId">The unique key to get the required resource.</param> /// <param name="itemData">Contains the resource data.</param> /// <param name="errorMessage">Returns the error message, if the write action is failed.</param> /// <returns>Returns true, if resource is successfully written into storage location.</returns> [NonAction] public bool SetData(string key, string itemId, ItemInfo itemData, out string errorMessage) { errorMessage = string.Empty; if (itemData.Data != null) { File.WriteAllBytes(this.GetFilePath(itemId, key), itemData.Data); } else if (itemData.PostedFile != null) { var fileName = itemId; if (string.IsNullOrEmpty(itemId)) { fileName = Path.GetFileName(itemData.PostedFile.FileName); } itemData.PostedFile.SaveAs(this.GetFilePath(fileName, key)); } return true; } /// <summary> /// Gets the resource from storage location. /// </summary> /// <param name="key">The unique key for request identification.</param> /// <param name="itemId">The unique key to get the required resource.</param> /// <returns>Returns the resource data and error message.</returns> [NonAction] public ResourceInfo GetData(string key, string itemId) { var resource = new ResourceInfo(); try { var filePath = this.GetFilePath(itemId, key); if (itemId.Equals(Path.GetFileName(filePath), StringComparison.InvariantCultureIgnoreCase) && File.Exists(filePath)) { resource.Data = File.ReadAllBytes(filePath); } else { resource.ErrorMessage = "File not found from the specified path"; } } catch (Exception ex) { resource.ErrorMessage = ex.Message; } return resource; } /// <summary> /// Action (HttpPost) method for posted or uploaded file actions. /// </summary> public void UploadReportAction() { //Processes the designer file upload requests. ReportDesignerHelper.ProcessDesigner(null, this, System.Web.HttpContext.Current.Request.Files[0]); } /// <summary> /// Send a GET request and returns the requested resource for a report. /// </summary> /// <param name="key">The unique key to get the desired resource.</param> /// <param name="resourcetype">The type of the requested resource.</param> /// <param name="isPrint">If set to <see langword="true"/>, then the resource is generated for printing.</param> /// <returns>Resource object for the given key</returns> [System.Web.Http.ActionName("GetResource")] [AcceptVerbs("GET")] public object GetResource(string key, string resourcetype, bool isPrint) { //Returns the report resource for the requested key. return ReportHelper.GetResource(key, resourcetype, isPrint); } /// <summary> /// Report Initialization method that is triggered when report begin processed. /// </summary> /// <param name="reportOption">The ReportViewer options.</param> [NonAction] public void OnInitReportOptions(ReportViewerOptions reportOption) { //You can update report options here } /// <summary> /// Report loaded method that is triggered when report and sub report begins to be loaded. /// </summary> /// <param name="reportOption">The ReportViewer options.</param> [NonAction] public void OnReportLoaded(ReportViewerOptions reportOption) { //You can update report options here } /// <summary> /// Action (HttpPost) method for posting the request for report process. /// </summary> /// <param name="jsonData">The JSON data posted for processing report.</param> /// <returns>The object data.</returns> public object PostReportAction(Dictionary<string, object> jsonData) { //Processes the report request and returns the result. return ReportHelper.ProcessReport(jsonData, this as IReportController); } } }
This controller is a starting point for local development. It passes key and itemId to Path.Combine as received, so apply the input validation and authorization steps in the deployment checklist below before exposing it beyond your machine.
What do the interface and helper classes do?
The controller implements IReportDesignerController, which declares the actions the designer calls:
PostDesignerActionhandles designer requests such as opening, editing, and saving.UploadReportActionhandles uploaded report files.GetImageandGetResourcereturn report images and other report resources.SetDataandGetDatawrite and read report files in your storage location.PostReportActionprocesses report preview requests.OnInitReportOptionsandOnReportLoadedare hooks that run before a report is processed and when it and its subreports load.
The controller delegates the work to two helper classes. ReportDesignerHelper supplies GetImage and ProcessDesigner. ReportHelper supplies GetResource and ProcessReport.
Configure routing
- Open the WebApiConfig.cs file in the App_Start folder of your application.
- Change the
routeTemplatein theRegistermethod to include the{action}parameter in the URI, as follows.using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace ReportDesignerSample { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes config.MapHttpAttributeRoutes(); config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{action}/{id}", defaults: new { id = RouteParameter.Optional } ); } } }
Set the service URL
To browse, open, and save reports in the application, set the ServiceUrl property of the Report Designer to the route of the Web API controller you added in step 13. Replace the line in Index.cshtml with the following code. The route points to the ReportingAPIController you just added, so the designer saves reports through your own API instead of a hosted demo service.
@(Html.Bold().ReportDesigner("designer").ServiceUrl(Url.Content("~/api/ReportingAPI")))Url.Content resolves ~ to the application root, so the same line works when the site runs in a virtual directory. To check the page before your controller is ready, you can temporarily point ServiceUrl to the Bold Reports demo service, https://demos.boldreports.com/services/api/ReportingAPI, which the official guide uses in its sample.
Run the application
When you run the application, the Report Designer renders as shown in the following screenshot.

ASP.NET MVC report designer common issues and fixes
The toolbar or styling looks broken
The designer style sheet is missing, or the page mixes Classic and v2.0 references. Confirm that ~/Content/bold-reports/v2.0/tailwind-light/bold.report-designer.min.css loads in the browser network tab. If the layout still references bold.reports.all.min.css or bold.reportdesigner.min.css, remove those Classic references.
Buttons do nothing or the console shows script errors
Check UnobtrusiveJavaScriptEnabled in the root Web.config, not the one in the Views folder. It must be false. Also confirm the v2.0 common and widget scripts load before bold.report-viewer.min.js and bold.report-designer.min.js.
Service calls return 404
The route template probably lacks {action}. Confirm that WebApiConfig.cs uses api/{controller}/{action}/{id}, and that the ServiceUrl value ends with ReportingAPI, which is the controller class name without the Controller suffix.
The designer area is blank
Confirm that Html.Bold().ScriptManager() is the last element inside the body tag in _Layout.cshtml, and that Index.cshtml contains the ReportDesigner control. A script manager placed above the script references initializes before the scripts exist.
Saved reports disappear
A Cache folder under the application root belongs to one server and one deployment, so reports saved there can vanish on redeploy or be missing on another server in a farm. Implement SetData and GetData against shared storage, as described in the next section.
What should you change before deploying an ASP.NET MVC report designer?
Before deploying the report designer to production, review these areas:
- Use shared storage instead of the Cache folder. Implement
SetDataandGetDataagainst a database, network share, or cloud storage so all application instances can access the same reports. - Validate user input. Treat
itemIdandkeyas untrusted values. The sample controller passes both toPath.Combineas received, so reduce each to a plain file name withPath.GetFileName, or reject anything else, before reading or writing files. - Secure the Web API. Apply authorization to
ReportingAPIControllerso only authenticated users can open, save, or upload reports. - Support multi-tenant deployments. Store reports using tenant-specific paths derived from the authenticated user rather than client-supplied values.
- Keep package versions aligned. Use the same version of all Bold Reports packages and test upgrades in a staging environment before deployment.
When should you use an embedded report designer?
An embedded report designer is ideal when users need to create, edit, and customize reports directly within a web application without relying on desktop reporting tools or developer assistance.
Common scenarios include:
- ISV and SaaS applications where customers design their own invoices, statements, and operational reports without submitting support requests.
- Internal business applications where finance, operations, HR, and compliance teams need to customize report layouts and templates on demand.
- SSRS migration and modernization projects that preserve existing RDL reports while moving report authoring and management to a browser-based reporting environment.
- Regulated industries, including healthcare, finance, insurance, and government, that depend on pixel-perfect, paginated reports for compliance, auditing, and record retention.
- Fixed-layout output such as invoices, statements, and forms that must be exported to PDF, Word, Excel, or PowerPoint.
Conclusion
Once the Report Designer is running, connect a data source and create your first report. To display and manage saved reports in the same application, follow the ASP.NET MVC Report Viewer guide. To explore additional capabilities, see report designer types and tools. If you’re working with a different technology stack, refer to the designer integration guides for Angular, React, and ASP.NET Web Forms. For additional configuration options, refer to the official Add web report designer to an ASP.NET MVC application documentation.
Ready to embed report authoring into your ASP.NET MVC application? Start a free 30-day trial or request a demo to explore how Bold Reports® can help you build, customize, and manage reports directly within your web application. Need assistance getting started? Contact us for expert guidance on implementing and optimizing your reporting solution.
Frequently asked questions
- 1.
What is an ASP.NET MVC report designer?
An ASP.NET MVC report designer is a browser-based tool embedded in an MVC application. Users build and edit reports on a drag-and-drop canvas, connect data sources, and save the result as RDL or RDLC report definitions. Your application hosts the designer and a Web API service, so you don’t need a separate desktop design tool.
- 2.
Which .NET Framework versions does the MVC report designer need?
The current Bold Reports guide requires .NET Framework 4.6.2 or higher and ASP.NET MVC 5. Microsoft lists January 12, 2027, as the end of support for 4.6.2, with no end date shown for 4.7 through 4.8.1, so new projects should target 4.7.2 or 4.8.
- 3.
Can I use the report designer with ASP.NET Core?
Yes, but through a different guide. ASP.NET Core uses the BoldReports.Net.Core package and tag helpers instead of the MVC 5 packages and HTML helpers used here. The help documentation lists .NET 8.0 as the minimum for the current ASP.NET Core designer, so follow the ASP.NET Core report designer guide.
- 4.
Do I need SSRS to use the report designer?
No. The designer in this guide saves and loads report files through your own Web API controller, so it doesn’t involve a SQL Server Reporting Services instance. It uses the RDL format SSRS uses, which is why teams moving off a report server often start by opening their existing definitions in it.
- 5.
Does the designer support both RDL and RDLC reports?
Yes. The ASP.NET MVC Report Designer creates and edits both RDL and RDLC report definitions in a WYSIWYG interface. RDL reports are designed for a report server or service, while RDLC reports are processed locally inside the application. Both formats belong to the same SSRS report definition family.
- 6.
Is Bold Reports free to try?
Yes. Bold Reports offers a free 30-day trial of its embedded reporting components, including the Report Designer, so you can build this walkthrough before buying a license. Register for the trial on the Bold Reports website and review the trial terms before you plan a proof of concept.
- 7.
What is the difference between the web report designer and the standalone report designer?
The web report designer is embedded in your ASP.NET MVC application, so users author reports in the browser inside your product. The standalone report designer is a separate authoring application for teams that want a dedicated environment for creating and maintaining reports outside their web applications.



