Page 1 of 1
Which the better way to embed reports
Posted: Wed May 13, 2015 12:52 pm
by rafakwolf
Hello...
Today in my project, i send the .MRT files for the reports
But i want to embed this files, which the better way? As a resource or in a class library ?
Thanks
Re: Which the better way to embed reports
Posted: Thu May 14, 2015 6:30 am
by HighAley
Hello.
The answer depends on your project. How it will work and what is more important.
If you will store report as mrt. It should be compiled in assembly before rendering. You can get more memory usage, but you will not have to recompile report assemblies after upgrade of Stimulsoft assemblies. You could read more on following links:
http://blog.stimulsoft.com/articles/storing-reports
http://support.stimulsoft.com/index.php ... assemblies
http://support.stimulsoft.com/index.php ... rom-memory
Thank you.
Re: Which the better way to embed reports
Posted: Thu May 14, 2015 12:14 pm
by rafakwolf
In my case is a desktop app using windows forms...
my issue is ...the memory grows only.
After the MRT file loaded... even disposing the StiReport object,a little of memory still there.
By that my intention to make load and unload of reports.
Any other advice ? Thanks alot
Sorry for my english
Re: Which the better way to embed reports
Posted: Fri May 15, 2015 6:51 am
by HighAley
Hello.
About unloading reports from memory you could read in the
Unloading report from memory article.
In the
Using report assemblies article you could find the ways out.
Thank you.