Skip to content

Commit d178a98

Browse files
github-actions[bot]KB BotIvetNikolovatodorarabadzhiev
authored andcommitted
Added new kb article fixing-greyed-out-rest-service-option-blazor-reportviewer (#1750)
* Added new kb article fixing-greyed-out-rest-service-option-blazor-reportviewer * Update fixing-greyed-out-rest-service-option-blazor-reportviewer.md * Add files via upload * Update fixing-greyed-out-rest-service-option-blazor-reportviewer.md --------- Co-authored-by: KB Bot <[email protected]> Co-authored-by: IvetNikolova <[email protected]> Co-authored-by: Todor Arabadzhiev <[email protected]>
1 parent 00d3754 commit d178a98

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Resolving Greyed-Out "Create New REST Service" While Adding Native ReportViewer
3+
description: Learn how to address the issue where the "Create new REST service" option is unavailable in a Blazor WebAssembly project when adding the Native ReportViewer.
4+
type: how-to
5+
page_title: Fixing Greyed-Out REST Service Option in Blazor ReportViewer
6+
meta_title: Fixing Greyed-Out REST Service Option in Blazor ReportViewer
7+
slug: fixing-greyed-out-rest-service-option-blazor-reportviewer
8+
tags: reporting, reportviewer, rest-service, blazor-webassembly, asp.net-core
9+
res_type: kb
10+
ticketid: 1693265
11+
---
12+
13+
## Environment
14+
15+
<table>
16+
<tbody>
17+
<tr>
18+
<td> Product </td>
19+
<td>
20+
Reporting, <br/>
21+
ReportViewer
22+
</td>
23+
</tr>
24+
<tr>
25+
<td> Version </td>
26+
<td> 19.1.25.716 </td>
27+
</tr>
28+
</tbody>
29+
</table>
30+
31+
## Description
32+
33+
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.
34+
35+
![The "Create new REST service" option is greyed](images/CreateNewRESTServiceOptionGreyed.png)
36+
37+
## Solution
38+
39+
To resolve this issue, host the Reporting REST Service in a separate project. Follow these steps:
40+
41+
1. Create a new ASP.NET Core project for the Reports Web Service.
42+
1. 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]({%slug telerikreporting/using-reports-in-applications/host-the-report-engine-remotely/telerik-reporting-rest-services/asp.net-core-web-api-implementation/how-to-host-reports-service-in-asp.net-core-in-.net-6-with-minimal-api%}).
43+
1. Integrate the separately hosted Reporting REST Service with your Blazor WebAssembly project.
44+
45+
## See Also
46+
47+
* [Hosting the Reporting REST Service in ASP.NET Core with Minimal API]({%slug telerikreporting/using-reports-in-applications/host-the-report-engine-remotely/telerik-reporting-rest-services/asp.net-core-web-api-implementation/how-to-host-reports-service-in-asp.net-core-in-.net-6-with-minimal-api%})
48+
* [Blazor WebAssembly vs. Server](https://docs.telerik.com/blazor-ui/introduction#blazor-webassembly-vs-server)
49+
* [Embedding Reports in Applications]({%slug telerikreporting/using-reports-in-applications/overview%})
9.35 KB
Loading

0 commit comments

Comments
 (0)