Alternative ways to manipulate excel files in aws lambda

时间:2017-04-24 17:30:53

标签: .net excel amazon-web-services asp.net-core google-spreadsheet-api

I have a desktop application which takes data by reading an excel sheet so accordingly that we process some data and write them to a new excel file.
So currently we are in process of converting this to a cloud based solution. We are planning to use aws with .net core/nodsjs. I found that handling excels in web servers are pretty hard work. cos either we have to use an COM object or run time somewhere

So what are the solutions that are available options out there to overcome this issue? (Will google spreadsheet will fit in here ?

Thank you

1 个答案:

答案 0 :(得分:2)

我目前正在使用ClosedXML来读写excel文件。 ClosedXML似乎有很好的文档,一个活跃的开发团队和一大堆功能。此外,ClosedXML是免费的。我还没有找到任何其他用于阅读Excel的免费软件,它可以在生产环境中运行良好或看起来稳定。即使是微软也不建议使用COM,因为它很慢并且有内存泄漏。

我最近也用来读取数据的客户端解决方案是Papa Parse。虽然不是一个优秀的解决方案,但这可能是一个替代选择。 Papa parse是一个javascript库,提供客户端csv解析并顺利运行。