Hi, we are using Aspose Cells for .net for Azure function that is reading an excel file and calculating the formulas. We are having 10-15 UDFs that are registered - mostly for retrieving data form DB and after that some normal formulas that users create base on the Data of UDFs. All works fine except when we have some really large reports with a lot of Formulas. The moment when the we call calculate all formulas with the UDF options the process takes a lot of time sometime so long so we had to implement time out exception because the function looks like stuck. Also when we updated with one of the last versions of the Aspose library 21.4… I saw that ICustomFunction interface is deprecated and is going to be removed 1 year for August 2020 so these days. Is it possible this is to be the reason… or some implementation errors - leading to slow process or is there some kind of max number of functions/data so to prevent such large reports to be send.
I`m attaching one zip file with some code sample - it is hard to create something out of the whole abstraction of the project - so if something else is needed please let me know and the excel file is also in the zip file. The problem is in the calculating part - class ReportExcelEngine line 42 - it is called form the main method. The UDF in the excel is UmTSArrayFilter in this excel it is called 3 times with different parameters and a lot of index formulas, some graphics and so on. And this on is throwing a time out exception CodeAndExcelFile_Svetozar.zip (6.5 MB)
There report itself is generated with our excel addin. If we reduce the formulas the report will pass.