Skip to content
Advertisement

Tag: azure-webapps

How to access Azure Linux web app path file

Trying to access file on path – wwwroot/templates/file.txt. It works using -_hostingEnvironment.ContentRootPath + “templatesfile.txt” on windows but same path says file does not exists. What Am I missing Answer Trying to access file on path – wwwroot/templates/file.txt. The following code snippet work for me, you can refer to it. And please make sure the file is really existing under that

Advertisement