I am trying to import values from excel into asp.net 5. I have done this previously using c# and in windows application utilizing EPPlus. I am very new to the asp environment and having hard time doing this basic operation. I was able to import "DocumentFormat.OpenXml": "2.5.0" into the json file. Basically what I want to do is Open up excel, Load data, feed it to list, do bunch operations and display the values back to the user. if someone can help with the getting the excel portion I would appreciate it.
My attempt:
System.IO.FileStream _stream = new System.IO.FileStream(path, System.IO.FileMode.Open);
SpreadsheetDocument spreadSheet = SpreadsheetDocument.Open(file,true)
I am not sure if I need file streams for this. When I try to do this it says:
SpreadsheetDocument is not referenced