This project has moved and is read-only. For the latest updates, please go here.

Thread Safe

Feb 6, 2014 at 12:40 PM
Edited Feb 6, 2014 at 12:51 PM
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?
Feb 6, 2014 at 2: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