Do you guys have any plans to come up with something let’s say… more managed?
The task framework is still somewhat new to me, but it allowed me to do something like:
We can have 1000 documents of 500 pages in this documents collection
… logic to fill the List<> with data.
document.Save(info.path, info.destination …);
Very very simple, and everything, threading, load, is handled by the task framework. The only issue is that the save() method of the aspose.words document returns immediately, before it is done and has no way (other than micromanaging it’s thread) of letting us know the progress. So, it will end up calling save() 1000 times and try to run 1000 conversions simultaneously.
running concurent transformations using multiple managed threads in a pool and waiting for the thread to die before relaunching another ones seems painful, with no other choice, I will try to come up with something as elegant as I can…
This is something that I think is absolutely required and I would love to see it. Feedback per page / total number of pages would allow to put a progress bar and such.