EPPlus 是否需要在服务器上安装 Excel?

Does EPPlus require Excel to be installed on the sever?

EPPlus 是否需要 Excel 安装在服务器上?如果是,是否有更好的替代方法可以使用 Entity Framework 从服务器端代码导出批量数据到 excel 文件?

不,不需要在服务器上安装 Excel,您可以在 docs:

中阅读

EPPlus is a .NET library that reads and writes Excel files using the Office Open XML format (xlsx). EPPlus has no dependencies other than .NET.

不过您确实需要将 EPPlus 程序集放在服务器上。