This project has moved. For the latest updates, please go here.

Thread Safe

Feb 6, 2014 at 11:40 AM
Edited Feb 6, 2014 at 11:51 AM
I have one question. This library Html2OpenXml is thread safe? i mean, if 3,4,5 users try to press same button that convert html body to xml, it will handle this?
Coordinator
Feb 6, 2014 at 1:44 PM
Yes it is but each thread should use its own instance of HtmlConverter.
By the way, if you write the generated docx on file system, it will failed due to concurrency but if you work on document on-the-fly (= in memory) and returns them in the response stream, it will be okay.
Marked as answer by avoiculescu on 2/6/2014 at 6:49 AM