Using Templates on a busy web server


#1

I am considering using Aspose.Cells on a busy web server for reports. I was wondering if I will run into problems using template Excel files. For example, if 4 users are running the same report at the same time the web server will attempt to open the template Excel file on the webserver 4 times, populate it with data as my code directs, and then furnish the result to the browser.

I expect that when the web server attempts to open a file that is already open in another process, it will error out saying the file is already in use. But I am hoping I am wrong here. Does Aspose.Cell open the template file without locking the file for another threads use?

Jeff


#2

Hi Jeff,

Aspose.Cells uses File.OpenRead method to open Excel files. So the template file won't be locked.