Today, getting environment information in managed functions (like the current directory) is very cumbersome. We need to investigate a way to make this more convenient.
+1 on this. I had to use some really hacky workarounds in order to write code that works on both the CLI and on Azure. I ended up creating an environment variable SITE_PATH where I set to "." when running locally and site\wwwroot on Azure.
Customer is asking for function name:
https://social.msdn.microsoft.com/Forums/en-US/aa67dbf0-7e02-46b1-80a1-27d278b14ec0/simple-way-to-get-name-of-function-app?forum=AzureFunctions
@lindydonna @christopheranderson I'm clearing the milestone on this so we can chat about this item on the next triage meeting.
Dup of #415?
Another customer asking for function name here.
Most helpful comment
Customer is asking for function name:
https://social.msdn.microsoft.com/Forums/en-US/aa67dbf0-7e02-46b1-80a1-27d278b14ec0/simple-way-to-get-name-of-function-app?forum=AzureFunctions