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

It is required that your private key files are NOT accessible by others, when use SSH to connect with a Azure CentOS VM

WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions for 'D:Windows10azureazureuser.pem' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "D:Windows10azureazureuser.pem": bad permissions [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

VIEW QUESTION
Back To Top
Search