Page 1 of 1

Compiled report example

Posted: Wed Aug 31, 2022 9:24 am
by Giacomo GG
Hello,
I have an application using ReportViewer component that load reports from .mrt files.

All works fine in local develompent machine, but when we deploy to Azure we have very slow performance, it takes 35 seconds to get the preview (on local machine same report same data are immediatly showed).

It looks like a problem loading .mrt files
Do you think that load the compiled version of the report should be the right way to find a solution?

Can you give me a link or an example on how to compile a .mrt file and load in the Reportviewer?

Thanks

Re: Compiled report example

Posted: Thu Sep 01, 2022 2:54 pm
by Max Shamanov
Hello,

We need time to prepare an answer for you.

Thank you

Re: Compiled report example

Posted: Wed Sep 07, 2022 10:44 am
by Max Shamanov
Hello, Giacomo.

Maybe you get it anywhere else if you think the issue is not in Azure?
Could you send us your report template with sample data?

Did you try to debug your project on Azure?

You could just call the Compile() method if you need to compile the report.
Or you could save your report as a C# class and add it to your project.

Sorry, we don't have samples for you.

Thank you.