SSRSViewer and Authentication

Can someone assist please.
I've created a Controller: ReportController.cs
added this inside:

using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;

namespace LMSPortalCore.Data.Controllers
{
public partial class ReportController
{
partial void OnReportRequest(ref HttpRequestMessage requestMessage)
{
// Customize report parameters
}

}
}

It gives me this error:

No defining declaration found for implementing declaration of partial method 'ReportController.OnReportRequest(ref HttpRequestMessage)

Can someone please assist?

The ReportController should be in the LMSPortalCore.Controllers namespace.

Please see attached image, my project is a Blazor server side .net core 3.1
Still getting the same issue

Your application does not have a ReportController file generated by Radzen. This is why you can't create a partial class for it.

How do I do that? Can you advise pls.

The ReportController.cs is generated automatically on every application run from Radzen.

Hi,

Could you please share the way to create the Report Controller.

Thanks,
Praveen

Check my reply here: RadzenSSRSViewer - Pass credentials - #2 by korchev

Thank you very much. Its resolved my issue.

I have created ReportController and getting below compilation error that shows : No defining definition found

Can you please advise.
I really need as early as possible.
Tthank you.

My my previous response contains a link to the full ReportController file.