Which the better way to embed reports

Stimulsoft Reports.NET discussion
Post Reply
rafakwolf
Posts: 3
Joined: Tue May 12, 2015 7:54 pm

Which the better way to embed reports

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Which the better way to embed reports

Post 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.
rafakwolf
Posts: 3
Joined: Tue May 12, 2015 7:54 pm

Re: Which the better way to embed reports

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Which the better way to embed reports

Post 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.
Post Reply