Resolving Greyed-Out "Create New REST Service" While Adding Native ReportViewer
Environment
| Product |
Reporting, ReportViewer |
| Version | 19.1.25.716 |
Description
While adding the native ReportViewer to a Blazor WebAssembly project, the "Create new REST service" option is unavailable. This happens because Blazor WebAssembly operates strictly as a client-side application, running directly on the browser UI thread. As a result, the Reports Web Service cannot be hosted within the same project.

Solution
To resolve this issue, host the Reporting REST Service in a separate project. Follow these steps:
- Create a new ASP.NET Core project for the Reports Web Service.
- Implement the Reporting REST Service in the new project using Minimal API. Refer to the article Hosting the Reporting REST Service in ASP.NET Core with Minimal API.
- Integrate the separately hosted Reporting REST Service with your Blazor WebAssembly project.