Welcome Guest Search | Active Topics | Sign In | Register

Is EO.PDF Thread Safe? Options
Olivier MATROT
Posted: Tuesday, March 21, 2023 4:26:57 AM
Rank: Member
Groups: Member

Joined: 10/18/2019
Posts: 11
We have problems using EO.PDF in an ASP.NET Core application.
It seems that the component is not thread safe as we end up with a corrupted local storage that breaks the PDF creation.
I have a test project that exhibits the problem. How can I submit it to you?
eo_support
Posted: Tuesday, March 21, 2023 10:02:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

Internally EO.Pdf uses a pool of WebView objects to perform the conversion. So unless you explicitly maintains sessions with HtmlToPdfSession object, session data can be mixed together between conversions. In this case you should use HtmlToPdfSession object instead.

If you still have problem, you can send the test project to us and we will investigate further. See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.