skip to Main Content

Read an excel file in ASP.NET Core hosted in Azure

I have an endpoint that should return a value from an excel file. On localhost this works by enabling UseStaticFiles middleware using this code, and adding excel file into the Resources folder: app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider( Path.Combine(env.ContentRootPath,…

VIEW QUESTION
Back To Top
Search