question

LingSteven avatar image
0 Votes"
LingSteven asked BruceBarker-8516 answered

What's the equivalent way to operate excel in code when asp.net core app run on linux?

Hi,

My old code using Microsoft.Office.Interop.Excel COM component to do some operations for excel files by programming.

I'm now porting the code to asp.net core mvc, when I run the web app on linux. Will the relevant code work on linux? If no, are there any other equivalent way to do such things.

Thanks

dotnet-aspnet-core-mvc
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

BruceBarker-8516 avatar image
0 Votes"
BruceBarker-8516 answered

No it won’t work on Linux because it’s a windows only technology. There are libraries to read and write excel files. Google for options.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.