I haven't done this in a while and didn't do it much, but can you use ADO to access the Excel file?
Learn how to use the ClosedXML NuGet package to export data as a CSV or XLSX file for Excel from an ASP.NET Core application. When building web applications, you will often need to import or export ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results